[Scummvm-cvs-logs] SF.net SVN: scummvm:[53520] scummvm/trunk/engines/toon/toon.cpp
sylvaintv at users.sourceforge.net
sylvaintv at users.sourceforge.net
Fri Oct 15 23:58:34 CEST 2010
Revision: 53520
http://scummvm.svn.sourceforge.net/scummvm/?rev=53520&view=rev
Author: sylvaintv
Date: 2010-10-15 21:58:34 +0000 (Fri, 15 Oct 2010)
Log Message:
-----------
TOON: Fixed bug #3084738 with loading bottomless bag state
Bug #3084738: "TOON: Vanishing bottomless bag"
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:48:46 UTC (rev 53519)
+++ scummvm/trunk/engines/toon/toon.cpp 2010-10-15 21:58:34 UTC (rev 53520)
@@ -850,15 +850,17 @@
_lastMouseButton = 0;
_mouseButton = 0;
_currentHotspotItem = -1;
- _gameState->_sackVisible = true;
- _gameState->_inCloseUp = false;
- _gameState->_inConversation = false;
- _gameState->_inInventory = false;
- _gameState->_inCutaway = false;
- _gameState->_currentScrollValue = 0;
- _gameState->_currentScrollLock = false;
- _gameState->_inCloseUp = false;
+ if (!forGameLoad) {
+ _gameState->_sackVisible = true;
+ _gameState->_inCloseUp = false;
+ _gameState->_inConversation = false;
+ _gameState->_inInventory = false;
+ _gameState->_inCutaway = false;
+ _gameState->_currentScrollValue = 0;
+ _gameState->_currentScrollLock = false;
+ _gameState->_inCloseUp = false;
+ }
if (_gameState->_mouseState >= 0)
addItemToInventory(_gameState->_mouseState);
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