[Scummvm-cvs-logs] CVS: scummvm/scumm script.cpp,1.50,1.51
Pawel Kolodziejski
aquadran at users.sourceforge.net
Sun Apr 6 09:03:01 CEST 2003
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv830
Modified Files:
script.cpp
Log Message:
also Loom exception in the read/write var funcs
Index: script.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script.cpp,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- script.cpp 6 Apr 2003 14:11:37 -0000 1.50
+++ script.cpp 6 Apr 2003 16:02:08 -0000 1.51
@@ -355,7 +355,7 @@
return _vars[var];
if (var & 0x8000) {
- if (_gameId == GID_ZAK256) {
+ if ((_gameId == GID_ZAK256) || (_gameId == GID_LOOM)) {
// Emulate a wierd hack in Zak256 to read individual
// bits of a normal global
int b = (var & 0x000F);
@@ -405,7 +405,7 @@
}
if (var & 0x8000) {
- if (_gameId == GID_ZAK256) {
+ if ((_gameId == GID_ZAK256) || (_gameId == GID_LOOM)) {
// Emulate a wierd hack in Zak256 to read individual
// bits of a normal global
int b = (var & 0x000F);
More information about the Scummvm-git-logs
mailing list