| 1 | From 6780910192681253ca7fe8129be5b359c854c360 Mon Sep 17 00:00:00 2001
|
|---|
| 2 | From: Alyssa Milburn <fuzzie@fuzzie.org>
|
|---|
| 3 | Date: Thu, 20 May 2010 13:42:21 +0200
|
|---|
| 4 | Subject: [PATCH] use absolute cursor position when checking hitCharacter for inventory
|
|---|
| 5 |
|
|---|
| 6 | ---
|
|---|
| 7 | engines/parallaction/input.cpp | 2 +-
|
|---|
| 8 | 1 files changed, 1 insertions(+), 1 deletions(-)
|
|---|
| 9 |
|
|---|
| 10 | diff --git a/engines/parallaction/input.cpp b/engines/parallaction/input.cpp
|
|---|
| 11 | index 6cffcdc..1b0e5c5 100644
|
|---|
| 12 | --- a/engines/parallaction/input.cpp
|
|---|
| 13 | +++ b/engines/parallaction/input.cpp
|
|---|
| 14 | @@ -352,7 +352,7 @@ bool Input::translateGameInput() {
|
|---|
| 15 |
|
|---|
| 16 | void Input::enterInventoryMode() {
|
|---|
| 17 | Common::Point mousePos;
|
|---|
| 18 | - getCursorPos(mousePos);
|
|---|
| 19 | + getAbsoluteCursorPos(mousePos);
|
|---|
| 20 | bool hitCharacter = _vm->hitZone(kZoneYou, mousePos.x, mousePos.y);
|
|---|
| 21 |
|
|---|
| 22 | if (hitCharacter) {
|
|---|
| 23 | --
|
|---|
| 24 | 1.6.3.3
|
|---|
| 25 |
|
|---|