# HG changeset patch # User Grumpy7 # Date 1369520049 -7200 # Node ID 5a59b5b2699f38f1675cdf3b669b6eefffeca361 # Parent 7033eb155558d6b8b0e404d89fac38f61cf68b2e SaveGame "for" cycle fix - orignal disassembly code has "i < uNumLevelDecorations" diff -r 7033eb155558 -r 5a59b5b2699f SaveLoad.cpp --- a/SaveLoad.cpp Sun May 26 00:03:16 2013 +0400 +++ b/SaveLoad.cpp Sun May 26 00:14:09 2013 +0200 @@ -457,7 +457,7 @@ data_write_pos += 4; } - for (int i = 0; i <= (signed int)uNumLevelDecorations; ++i) + for (int i = 0; i < (signed int)uNumLevelDecorations; ++i) { memcpy(data_write_pos, &pLevelDecorations[i].field_2, 2); data_write_pos += 2;