diff options
author | Bendegúz Nagy | 2016-08-10 10:27:42 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | 1be1728c951e4f81755e870e7a95811a85351fd4 (patch) | |
tree | b0b41e0b1aecec2aa10673a71184146c39f0ea8d | |
parent | 1690a717efbf69eda36e5f0d6c1d0342e4c3a640 (diff) | |
download | scummvm-rg350-1be1728c951e4f81755e870e7a95811a85351fd4.tar.gz scummvm-rg350-1be1728c951e4f81755e870e7a95811a85351fd4.tar.bz2 scummvm-rg350-1be1728c951e4f81755e870e7a95811a85351fd4.zip |
DM: Add missing code setting _g587_hideMousePointerRequestCount
-rw-r--r-- | engines/dm/eventman.cpp | 1 | ||||
-rw-r--r-- | engines/dm/inventory.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/engines/dm/eventman.cpp b/engines/dm/eventman.cpp index a54c691275..8258ef0d62 100644 --- a/engines/dm/eventman.cpp +++ b/engines/dm/eventman.cpp @@ -357,6 +357,7 @@ EventManager::EventManager(DMEngine *vm) : _vm(vm) { _g443_primaryKeyboardInput = nullptr; _g444_secondaryKeyboardInput = nullptr; _g597_ignoreMouseMovements = false; + warning(false, "_g587_hideMousePointerRequestCount should start with value 1"); _g587_hideMousePointerRequestCount = 0; _g558_mouseButtonStatus = 0; } diff --git a/engines/dm/inventory.cpp b/engines/dm/inventory.cpp index 48f9716043..84c1c59443 100644 --- a/engines/dm/inventory.cpp +++ b/engines/dm/inventory.cpp @@ -733,7 +733,7 @@ void InventoryMan::f351_drawChampionSkillsAndStatistics() { void InventoryMan::f350_drawStopPressingMouth() { f347_drawPanel(); _vm->_displayMan->f97_drawViewport(k0_viewportNotDungeonView); - warning(false, "Ignored code: G0587_i_HideMousePointerRequestCount"); + _vm->_eventMan->_g587_hideMousePointerRequestCount = 1; _vm->_eventMan->f77_hideMouse(); } |