diff options
author | Sylvain Dupont | 2010-10-15 22:05:54 +0000 |
---|---|---|
committer | Sylvain Dupont | 2010-10-15 22:05:54 +0000 |
commit | 19272595e746ad7fb867eaa2bea5d1c46543c965 (patch) | |
tree | f90884328ebe7139893e3ec85228108d73d0cf05 | |
parent | 906704b213aac71aacd3ff029b359dcc99461247 (diff) | |
download | scummvm-rg350-19272595e746ad7fb867eaa2bea5d1c46543c965.tar.gz scummvm-rg350-19272595e746ad7fb867eaa2bea5d1c46543c965.tar.bz2 scummvm-rg350-19272595e746ad7fb867eaa2bea5d1c46543c965.zip |
TOON: Fixed Bug #3085978 with "Exit Not Defined" appearing
Bug #3085978: "TOON: "Exit not defined" when leaving cellar"
svn-id: r53521
-rw-r--r-- | engines/toon/toon.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/toon/toon.cpp b/engines/toon/toon.cpp index f881395f0b..619942713a 100644 --- a/engines/toon/toon.cpp +++ b/engines/toon/toon.cpp @@ -849,7 +849,7 @@ void ToonEngine::loadScene(int32 SceneId, bool forGameLoad) { _lastMouseButton = 0; _mouseButton = 0; - _currentHotspotItem = -1; + _currentHotspotItem = 0; if (!forGameLoad) { _gameState->_sackVisible = true; @@ -1188,7 +1188,7 @@ void ToonEngine::clickEvent() { if (_gameState->_mouseState >= 0 && !rightButton) { addItemToInventory(_gameState->_mouseState); setCursor(0, false, 0, 0); - _currentHotspotItem = -1; + _currentHotspotItem = 0; return; } else { showInventory(); @@ -1201,7 +1201,7 @@ void ToonEngine::clickEvent() { if (rightButton && _gameState->_mouseState >= 0) { addItemToInventory(_gameState->_mouseState); setCursor(0, false, 0, 0); - _currentHotspotItem = -1; + _currentHotspotItem = 0; return; } |