[Scummvm-cvs-logs] CVS: scummvm/scumm actor.cpp,1.280,1.281
Torbjörn Andersson
eriktorbjorn at users.sourceforge.net
Sun Sep 5 09:19:00 CEST 2004
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17823
Modified Files:
actor.cpp
Log Message:
The old 'sound' array was introduced in savegame version 8, so surely the
MKARRAY_OLD entry should use 8 as its minVersion? Today's CVS snapshot
triggered an assertion when loading a savegame that worked fine today. It
worked again after this change.
Index: actor.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/actor.cpp,v
retrieving revision 1.280
retrieving revision 1.281
diff -u -d -r1.280 -r1.281
--- actor.cpp 5 Sep 2004 09:36:50 -0000 1.280
+++ actor.cpp 5 Sep 2004 16:18:07 -0000 1.281
@@ -1840,7 +1840,7 @@
MKLINE(Actor, charset, sleByte, VER(8)),
// Actor sound grew from 8 to 32 bytes
- MKARRAY_OLD(Actor, sound[0], sleByte, 8, VER(35), VER(36)),
+ MKARRAY_OLD(Actor, sound[0], sleByte, 8, VER(8), VER(36)),
MKARRAY(Actor, sound[0], sleByte, 32, VER(37)),
MKARRAY(Actor, animVariable[0], sleUint16, 8, VER(8)),
More information about the Scummvm-git-logs
mailing list