aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorBendegúz Nagy2016-08-15 11:09:44 +0200
committerBendegúz Nagy2016-08-26 23:02:22 +0200
commitc7b353385d08b3c848a59967e769a0eeec837d4e (patch)
tree1effe23fba8dcd60c7df7469f7ba30e1a747fe3c /engines
parent3fdd68fe315eddb87cd901a88737d8afb5ad8ba7 (diff)
downloadscummvm-rg350-c7b353385d08b3c848a59967e769a0eeec837d4e.tar.gz
scummvm-rg350-c7b353385d08b3c848a59967e769a0eeec837d4e.tar.bz2
scummvm-rg350-c7b353385d08b3c848a59967e769a0eeec837d4e.zip
DM: Fix mouse when clicking on eye
Diffstat (limited to 'engines')
-rw-r--r--engines/dm/inventory.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/engines/dm/inventory.cpp b/engines/dm/inventory.cpp
index bc283963c9..698210ae0e 100644
--- a/engines/dm/inventory.cpp
+++ b/engines/dm/inventory.cpp
@@ -739,7 +739,9 @@ void InventoryMan::f350_drawStopPressingMouth() {
f347_drawPanel();
_vm->_displayMan->f97_drawViewport(k0_viewportNotDungeonView);
_vm->_eventMan->_g587_hideMousePointerRequestCount = 1;
- _vm->_eventMan->f77_hideMouse();
+ _vm->_eventMan->f78_showMouse();
+ _vm->_eventMan->f78_showMouse();
+ _vm->_eventMan->f78_showMouse();
}
void InventoryMan::f353_drawStopPressingEye() {
@@ -751,7 +753,9 @@ void InventoryMan::f353_drawStopPressingEye() {
if ((L1100_T_LeaderHandObject = _vm->_championMan->_g414_leaderHandObject) != Thing::_none) {
_vm->_objectMan->f34_drawLeaderObjectName(L1100_T_LeaderHandObject);
}
- _vm->_eventMan->f77_hideMouse();
+ _vm->_eventMan->f78_showMouse();
+ _vm->_eventMan->f78_showMouse();
+ _vm->_eventMan->f78_showMouse();
}
void InventoryMan::f349_processCommand70_clickOnMouth() {
@@ -957,7 +961,9 @@ void InventoryMan::f352_processCommand71_clickOnEye() {
return;
}
_vm->_eventMan->f357_discardAllInput();
- _vm->_eventMan->f78_showMouse();
+ _vm->_eventMan->f77_hideMouse();
+ _vm->_eventMan->f77_hideMouse();
+ _vm->_eventMan->f77_hideMouse();
_vm->f22_delay(8);
f332_drawIconToViewport(k203_IconIndiceEyeLooking, 12, 13);
if (_vm->_championMan->_g415_leaderEmptyHanded) {