[Scummvm-cvs-logs] SF.net SVN: scummvm:[55295] scummvm/trunk/engines/gob/game.cpp

drmccoy at users.sourceforge.net drmccoy at users.sourceforge.net
Tue Jan 18 12:51:45 CET 2011


Revision: 55295
          http://scummvm.svn.sourceforge.net/scummvm/?rev=55295&view=rev
Author:   drmccoy
Date:     2011-01-18 11:51:45 +0000 (Tue, 18 Jan 2011)

Log Message:
-----------
GOB: Add a workaround for Inca2

The scripts seem to depend on var32_236 to be cleared at the
start of each new script file.

Modified Paths:
--------------
    scummvm/trunk/engines/gob/game.cpp

Modified: scummvm/trunk/engines/gob/game.cpp
===================================================================
--- scummvm/trunk/engines/gob/game.cpp	2011-01-18 10:42:26 UTC (rev 55294)
+++ scummvm/trunk/engines/gob/game.cpp	2011-01-18 11:51:45 UTC (rev 55295)
@@ -324,6 +324,10 @@
 				WRITE_VAR(14, _vm->_global->_soundFlags);
 				WRITE_VAR(15, _vm->_global->_fakeVideoMode);
 				WRITE_VAR(16, _vm->_global->_language);
+
+				// WORKAROUND: Inca2 seems to depend on that variable to be cleared
+				if (_vm->getGameType() == kGameTypeInca2)
+					WRITE_VAR(59, 0);
 			}
 
 			_vm->_inter->callSub(2);


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