changeset 1084:5a59b5b2699f

SaveGame "for" cycle fix - orignal disassembly code has "i < uNumLevelDecorations"
author Grumpy7
date Sun, 26 May 2013 00:14:09 +0200
parents 7033eb155558
children 9759bc6d47f3
files SaveLoad.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;