AVALANCHE: last modification wasn't in previous commit, fixed.

This commit is contained in:
Strangerke 2013-10-22 10:49:13 +02:00
parent 862a46d5dd
commit f7586343b6

View File

@ -173,9 +173,9 @@ void AvalancheEngine::synchronize(Common::Serializer &sz) {
sz.syncAsByte(actChr); sz.syncAsByte(actChr);
} }
uint16 favourite_songSize = _favoriteSong.size(); uint16 favoriteSongSize = _favoriteSong.size();
sz.syncAsUint16LE(favourite_songSize); sz.syncAsUint16LE(favoriteSongSize);
for (uint16 i = 0; i < favourite_songSize; i++) { for (uint16 i = 0; i < favoriteSongSize; i++) {
char actChr = _favoriteSong[i]; char actChr = _favoriteSong[i];
sz.syncAsByte(actChr); sz.syncAsByte(actChr);
} }