[Scummvm-cvs-logs] CVS: scummvm/scumm script_v2.cpp,2.192,2.193
Travis Howell
kirben at users.sourceforge.net
Sat Sep 6 01:58:03 CEST 2003
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv7179/scumm
Modified Files:
script_v2.cpp
Log Message:
OOps
Index: script_v2.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v2.cpp,v
retrieving revision 2.192
retrieving revision 2.193
diff -u -d -r2.192 -r2.193
--- script_v2.cpp 6 Sep 2003 08:46:36 -0000 2.192
+++ script_v2.cpp 6 Sep 2003 08:57:19 -0000 2.193
@@ -782,7 +782,7 @@
if (0 <= (opcode >> 4) && (opcode >> 4) < (int)ARRAYSIZE(resTypes))
type = resTypes[opcode >> 4];
- if (type == rtNumTypes)
+ if ((opcode & 0x0f) == 0 || type == rtNumTypes)
return;
if ((opcode & 0x0f) == 1) {
More information about the Scummvm-git-logs
mailing list