[Scummvm-cvs-logs] CVS: scummvm script_v1.cpp,1.102,1.103
James Brown
ender at users.sourceforge.net
Fri May 10 09:15:04 CEST 2002
- Previous message: [Scummvm-cvs-logs] CVS: scummvm readme.txt,1.50,1.51
- Next message: [Scummvm-cvs-logs] CVS: scummvm/debian changelog.cvs,NONE,1.1 changelog.debian,NONE,1.1 prepare,NONE,1.1 scummvm.dirs,NONE,1.1 scummvm.sh,NONE,1.1 changelog,1.3,NONE control,1.3,NONE copyright,1.3,NONE dirs,1.2,NONE rules,1.3,NONE scummvm.docs,1.1,NONE scummvm.files,1.1,NONE watch.ex,1.1,NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv26056
Modified Files:
script_v1.cpp
Log Message:
Check gameID for Zak TV fix
Index: script_v1.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/script_v1.cpp,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -d -r1.102 -r1.103
--- script_v1.cpp 8 May 2002 10:33:30 -0000 1.102
+++ script_v1.cpp 10 May 2002 16:14:52 -0000 1.103
@@ -1391,13 +1391,15 @@
o2 = getVarOrDirectWord(0x40);
r = getObjActToObjActDist(o1, o2);
- /* Fix for monkey 2, dunno what's wrong in scummvm */
+ /* FIXME: Fix for monkey 2, dunno what's wrong in scummvm */
if (_gameId == GID_MONKEY2 && vm.slot[_currentScript].number == 40
&& r < 60)
r = 60;
- if (r > 0) // FIXME: Fixes several off-by-one errors (eg,
- r--; // zak's tv). Find real cause of bug.
+ /* FIXME: Patch to allow TV cord to be picked up in Zak256 */
+ if ((_gameId == GID_ZAK256) && (r > 0))
+ r--;
+
setResult(r);
}
- Previous message: [Scummvm-cvs-logs] CVS: scummvm readme.txt,1.50,1.51
- Next message: [Scummvm-cvs-logs] CVS: scummvm/debian changelog.cvs,NONE,1.1 changelog.debian,NONE,1.1 prepare,NONE,1.1 scummvm.dirs,NONE,1.1 scummvm.sh,NONE,1.1 changelog,1.3,NONE control,1.3,NONE copyright,1.3,NONE dirs,1.2,NONE rules,1.3,NONE scummvm.docs,1.1,NONE scummvm.files,1.1,NONE watch.ex,1.1,NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list