[Scummvm-cvs-logs] SF.net SVN: scummvm:[53521] scummvm/trunk/engines/toon/toon.cpp
sylvaintv at users.sourceforge.net
sylvaintv at users.sourceforge.net
Sat Oct 16 00:05:55 CEST 2010
Revision: 53521
http://scummvm.svn.sourceforge.net/scummvm/?rev=53521&view=rev
Author: sylvaintv
Date: 2010-10-15 22:05:54 +0000 (Fri, 15 Oct 2010)
Log Message:
-----------
TOON: Fixed Bug #3085978 with "Exit Not Defined" appearing
Bug #3085978: "TOON: "Exit not defined" when leaving cellar"
Modified Paths:
--------------
scummvm/trunk/engines/toon/toon.cpp
Modified: scummvm/trunk/engines/toon/toon.cpp
===================================================================
--- scummvm/trunk/engines/toon/toon.cpp 2010-10-15 21:58:34 UTC (rev 53520)
+++ scummvm/trunk/engines/toon/toon.cpp 2010-10-15 22:05:54 UTC (rev 53521)
@@ -849,7 +849,7 @@
_lastMouseButton = 0;
_mouseButton = 0;
- _currentHotspotItem = -1;
+ _currentHotspotItem = 0;
if (!forGameLoad) {
_gameState->_sackVisible = true;
@@ -1188,7 +1188,7 @@
if (_gameState->_mouseState >= 0 && !rightButton) {
addItemToInventory(_gameState->_mouseState);
setCursor(0, false, 0, 0);
- _currentHotspotItem = -1;
+ _currentHotspotItem = 0;
return;
} else {
showInventory();
@@ -1201,7 +1201,7 @@
if (rightButton && _gameState->_mouseState >= 0) {
addItemToInventory(_gameState->_mouseState);
setCursor(0, false, 0, 0);
- _currentHotspotItem = -1;
+ _currentHotspotItem = 0;
return;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list