From f6e2c67cbb4365547851b6805b4900279a5a0aa8 Mon Sep 17 00:00:00 2001 From: Nicola Mettifogo Date: Mon, 18 Jun 2007 20:11:49 +0000 Subject: 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 --- engines/parallaction/inventory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/parallaction/inventory.cpp') 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); -- cgit v1.2.3