Skip to content

Commit

Permalink
DM: Add missing code setting _g587_hideMousePointerRequestCount
Browse files Browse the repository at this point in the history
  • Loading branch information
Bendegúz Nagy committed Aug 26, 2016
1 parent 1690a71 commit 1be1728
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions engines/dm/eventman.cpp
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion engines/dm/inventory.cpp
Expand Up @@ -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();
}

Expand Down

0 comments on commit 1be1728

Please sign in to comment.