[Scummvm-cvs-logs] CVS: scummvm/scumm script_v5.cpp,1.198,1.199
Max Horn
fingolfin at users.sourceforge.net
Sun Oct 12 10:18:07 CEST 2003
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv13967
Modified Files:
script_v5.cpp
Log Message:
workaround for bug #820507 (INDY3TOWNS: Biplane controls are haywire)
Index: script_v5.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v5.cpp,v
retrieving revision 1.198
retrieving revision 1.199
diff -u -d -r1.198 -r1.199
--- script_v5.cpp 5 Oct 2003 02:58:11 -0000 1.198
+++ script_v5.cpp 12 Oct 2003 17:17:43 -0000 1.199
@@ -1378,7 +1378,6 @@
void ScummEngine_v5::o5_isLess() {
int16 a = getVar();
int16 b = getVarOrDirectWord(0x80);
-
if (b < a)
ignoreScriptWord();
else
@@ -1388,6 +1387,15 @@
void ScummEngine_v5::o5_lessOrEqual() {
int16 a = getVar();
int16 b = getVarOrDirectWord(0x80);
+
+ // WORKAROUND bug #820507 : Work around a bug in Indy3Town.
+ if (_gameId == GID_INDY3 && (_features & GF_FMTOWNS) &&
+ (vm.slot[_currentScript].number == 200 || vm.slot[_currentScript].number == 203) &&
+ _currentRoom == 70 && b == -256) {
+ o5_jumpRelative();
+ return;
+ }
+
if (b <= a)
ignoreScriptWord();
else
More information about the Scummvm-git-logs
mailing list