bug in save/loader

svn-id: r3481
This commit is contained in:
Ludvig Strigeus 2001-11-09 22:44:26 +00:00
parent 67eec161ea
commit 2a7540043c

View File

@ -618,7 +618,8 @@ void Serializer::saveLoadArrayOf(void *b, int len, int datasize, byte filetype)
void Serializer::saveLoadArrayOf(void *b, int num, int datasize, const SaveLoadEntry *sle) {
byte *data = (byte*)b;
while (--num) {
while (--num>=0) {
saveLoadEntries(data, sle);
data += datasize;
}