aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/inventory.cpp
diff options
context:
space:
mode:
authorNicola Mettifogo2007-06-18 20:11:49 +0000
committerNicola Mettifogo2007-06-18 20:11:49 +0000
commitf6e2c67cbb4365547851b6805b4900279a5a0aa8 (patch)
tree1fe41dade856841b51f00231a958b10f28218ca0 /engines/parallaction/inventory.cpp
parent3f5202ea383b6e9c21a54e142eca578bb000cba5 (diff)
downloadscummvm-rg350-f6e2c67cbb4365547851b6805b4900279a5a0aa8.tar.gz
scummvm-rg350-f6e2c67cbb4365547851b6805b4900279a5a0aa8.tar.bz2
scummvm-rg350-f6e2c67cbb4365547851b6805b4900279a5a0aa8.zip
Mouse is now properly hidden during dialogues, and is restored after load/save dialog boxes are closed. Moreover, kEngineMouse constant has been renamed to better match its meaning.
svn-id: r27539
Diffstat (limited to 'engines/parallaction/inventory.cpp')
-rw-r--r--engines/parallaction/inventory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/parallaction/inventory.cpp b/engines/parallaction/inventory.cpp
index 0486dcfe63..3581b956a6 100644
--- a/engines/parallaction/inventory.cpp
+++ b/engines/parallaction/inventory.cpp
@@ -286,13 +286,13 @@ void jobHideInventory(void *parm, Job *j) {
static uint16 count = 0;
- _engineFlags |= kEngineMouse;
+ _engineFlags |= kEngineBlockInput;
count++;
if (count == 2) {
count = 0;
j->_finished = 1;
- _engineFlags &= ~kEngineMouse;
+ _engineFlags &= ~kEngineBlockInput;
}
Common::Rect r(INVENTORY_WIDTH, _numInvLines * INVENTORYITEM_HEIGHT);