[Scummvm-cvs-logs] CVS: scummvm/scumm script_v2.cpp,2.181,2.182
Travis Howell
kirben at users.sourceforge.net
Wed Aug 20 09:55:06 CEST 2003
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv20056/scumm
Modified Files:
script_v2.cpp
Log Message:
Ooops that would have broken v2
Index: script_v2.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v2.cpp,v
retrieving revision 2.181
retrieving revision 2.182
diff -u -d -r2.181 -r2.182
--- script_v2.cpp 20 Aug 2003 11:45:40 -0000 2.181
+++ script_v2.cpp 20 Aug 2003 11:49:22 -0000 2.182
@@ -696,10 +696,12 @@
break;
case 2: // Actor Set Color
- if (_version == 2)
+ if (_version == 1)
+ i = act;
+ else
i = fetchScriptByte();
- a->palette[act] = arg;
+ a->palette[i] = arg;
a->needRedraw = true;
break;
More information about the Scummvm-git-logs
mailing list