[Scummvm-cvs-logs] SF.net SVN: scummvm:[41080] scummvm/trunk/engines/kyra/gui_lol.cpp

athrxx at users.sourceforge.net athrxx at users.sourceforge.net
Sun May 31 19:58:19 CEST 2009


Revision: 41080
          http://scummvm.svn.sourceforge.net/scummvm/?rev=41080&view=rev
Author:   athrxx
Date:     2009-05-31 17:58:19 +0000 (Sun, 31 May 2009)

Log Message:
-----------
LOL: prevent saving/loading in inventory screen

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/gui_lol.cpp

Modified: scummvm/trunk/engines/kyra/gui_lol.cpp
===================================================================
--- scummvm/trunk/engines/kyra/gui_lol.cpp	2009-05-31 17:00:38 UTC (rev 41079)
+++ scummvm/trunk/engines/kyra/gui_lol.cpp	2009-05-31 17:58:19 UTC (rev 41080)
@@ -704,7 +704,7 @@
 void LoLEngine::gui_updateInput() {
 	// TODO: We need to catch all cases where loading is not possible and
 	// set the "mainLoop" parameter to false for them.
-	int inputFlag = checkInput(_activeButtons, !(_updateFlags & 3), 0);
+	int inputFlag = checkInput(_activeButtons, !((_updateFlags & 3) || _weaponsDisabled), 0);
 
 	if (_preserveEvents)
 		_preserveEvents = false;


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