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.

svn-id: r14909
This commit is contained in:
Torbjörn Andersson 2004-09-05 16:18:07 +00:00
parent 11a449a08c
commit 14b3a8e588

View File

@ -1840,7 +1840,7 @@ const SaveLoadEntry *Actor::getSaveLoadEntries() {
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)),