[Scummvm-cvs-logs] CVS: scummvm/scumm script.cpp,1.71,1.72
Jonathan Gray
khalek at users.sourceforge.net
Sun May 4 00:35:15 CEST 2003
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv17366
Modified Files:
script.cpp
Log Message:
don't know why this was removed but it breaks several games making it for all non v2 games
Index: script.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script.cpp,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -d -r1.71 -r1.72
--- script.cpp 4 May 2003 02:27:22 -0000 1.71
+++ script.cpp 4 May 2003 07:34:54 -0000 1.72
@@ -383,6 +383,9 @@
var &= ~0x2000;
}
+ if (!(_features & GF_AFTER_V2) && !(var & 0xF000))
+ return _vars[var];
+
if (var & 0x8000) {
if ((_gameId == GID_ZAK256) || (_features & GF_OLD_BUNDLE)) {
// Emulate a wierd hack in Zak256 to read individual
More information about the Scummvm-git-logs
mailing list