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

tdhs at users.sourceforge.net tdhs at users.sourceforge.net
Tue Jun 29 05:53:06 CEST 2010


Revision: 50480
          http://scummvm.svn.sourceforge.net/scummvm/?rev=50480&view=rev
Author:   tdhs
Date:     2010-06-29 03:53:06 +0000 (Tue, 29 Jun 2010)

Log Message:
-----------
GOB : Adding workaround for Bug #3018918 UOTODDV Reload Goblin Stuck Issue.

This was present in the original interpreter.

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

Modified: scummvm/trunk/engines/gob/inter_v1.cpp
===================================================================
--- scummvm/trunk/engines/gob/inter_v1.cpp	2010-06-29 03:04:08 UTC (rev 50479)
+++ scummvm/trunk/engines/gob/inter_v1.cpp	2010-06-29 03:53:06 UTC (rev 50480)
@@ -813,6 +813,14 @@
 	byte cmd;
 	bool boolRes;
 
+	// WORKAROUND: Windows Gob1 OUTODDV reload goblin stuck bug present in original
+	if ((_vm->getGameType() == kGameTypeGob1) && (_vm->_game->_script->pos() == 11294) &&
+			!scumm_stricmp(_vm->_game->_curTotFile, "avt00.tot") && VAR(59) == 1) {
+		warning("Workaround for Win Gob1 OUTODDV Reload Goblin Stuck Bug...");
+		WRITE_VAR(285, 0);
+		WRITE_VAR(59, 0);
+	}
+
 	boolRes = _vm->_game->_script->evalBoolResult();
 	if (boolRes) {
 		if ((params.counter == params.cmdCount) && (params.retFlag == 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