[Scummvm-cvs-logs] SF.net SVN: scummvm: [31260] scummvm/trunk/engines/agos/script.cpp

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Thu Mar 27 02:01:53 CET 2008


Revision: 31260
          http://scummvm.svn.sourceforge.net/scummvm/?rev=31260&view=rev
Author:   Kirben
Date:     2008-03-26 18:01:52 -0700 (Wed, 26 Mar 2008)

Log Message:
-----------
Add work around for script bug in The Feeble Files.

Modified Paths:
--------------
    scummvm/trunk/engines/agos/script.cpp

Modified: scummvm/trunk/engines/agos/script.cpp
===================================================================
--- scummvm/trunk/engines/agos/script.cpp	2008-03-26 23:42:47 UTC (rev 31259)
+++ scummvm/trunk/engines/agos/script.cpp	2008-03-27 01:01:52 UTC (rev 31260)
@@ -255,6 +255,11 @@
 	// 43: add
 	uint var = getVarWrapper();
 	writeVariable(var, readVariable(var) + getVarOrWord());
+
+	// WORKAROUND: The converation of the male in Vid-Phone Booth at Dave's Space Bar
+	// is based on variable 116, but stops due to a missing option (37).
+	if (getGameType() == GType_FF && _currentTable->id == 10538 && readVariable(116) == 37)
+			writeVariable(116, 38);
 }
 
 void AGOSEngine::o_sub() {


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