mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-22 18:02:05 +00:00
TOON: Fixed Bug #3085978 with "Exit Not Defined" appearing
Bug #3085978: "TOON: "Exit not defined" when leaving cellar" svn-id: r53521
This commit is contained in:
parent
906704b213
commit
19272595e7
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user