diff SaveLoad.cpp @ 1736:c6fe09a06712

Player::CompareVariable finished, renamed stru_5E4C90 to stru_5E4C90_MapPersistVars, party::field_4A0 to party::CounterEventValues
author Grumpy7
date Fri, 27 Sep 2013 10:04:45 +0200
parents 75fafd8ced59
children 421c29d4ab3e
line wrap: on
line diff
--- a/SaveLoad.cpp	Thu Sep 26 08:09:05 2013 +0200
+++ b/SaveLoad.cpp	Fri Sep 27 10:04:45 2013 +0200
@@ -430,7 +430,7 @@
       data_write_pos += 16000;
       memcpy(data_write_pos, pIndoor->ptr_0002B4_doors_ddata, pIndoor->blv.uDoors_ddata_Size);
       data_write_pos += pIndoor->blv.uDoors_ddata_Size;
-      memcpy(data_write_pos, &stru_5E4C90, 0xC8);
+      memcpy(data_write_pos, &stru_5E4C90_MapPersistVars, 0xC8);
       data_write_pos += 200;
       memcpy(data_write_pos, &pIndoor->stru1, 0x38);
       data_write_pos += 56;
@@ -475,7 +475,7 @@
       data_write_pos += 4;
       memcpy(data_write_pos, pChests.data(), sizeof(Chest)* uNumChests);
       data_write_pos += sizeof(Chest)* uNumChests;
-      memcpy(data_write_pos, &stru_5E4C90, 0xC8);
+      memcpy(data_write_pos, &stru_5E4C90_MapPersistVars, 0xC8);
       data_write_pos += 200;
       memcpy(data_write_pos, &pOutdoor->loc_time, 0x38);
       data_write_pos += 56;