aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2016-05-23 01:33:13 +0200
committerStrangerke2016-05-23 01:33:13 +0200
commit2a2082c1f9dcb3a85801d6813273ef8362caf6be (patch)
tree138de31c2fa0beb7482e704e69888faebcb5ade8
parent58e77d693b2575b3a7680fb2bca6dc2f41449278 (diff)
downloadscummvm-rg350-2a2082c1f9dcb3a85801d6813273ef8362caf6be.tar.gz
scummvm-rg350-2a2082c1f9dcb3a85801d6813273ef8362caf6be.tar.bz2
scummvm-rg350-2a2082c1f9dcb3a85801d6813273ef8362caf6be.zip
GNAP: Remove a TODO
This code is never called because it's triggered by clicking on the button
-rw-r--r--engines/gnap/menu.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/engines/gnap/menu.cpp b/engines/gnap/menu.cpp
index 82191b053e..a459c3cf09 100644
--- a/engines/gnap/menu.cpp
+++ b/engines/gnap/menu.cpp
@@ -438,14 +438,10 @@ void GnapEngine::updateMenuStatusMainMenu() {
deleteSurface(&_largeSprite);
showCursor();
} else if (_hotspotsCount - 3 == _sceneClickedHotspot) {
- // Button
+ // Button - Return to the inventory
_timers[2] = 10;
playSound(0x108F4, false);
initMenuHotspots1();
- /* TODO
- if (_mouseX < 93 || _mouseX > 638 || _mouseY < 0 || _mouseY > 600)
- SetCursorPos(400, 300);
- */
_menuStatus = 0;
if (_menuSprite1)
_gameSys->removeSpriteDrawItem(_menuSprite1, 262);