Fix #9740: Fix loading of gamelog change items from savegame ver >= 294

This commit is contained in:
Jonathan G Rennison 2021-12-10 01:12:04 +00:00 committed by Patric Stout
parent 97f545ba05
commit e38c779b52
1 changed files with 1 additions and 0 deletions

View File

@ -328,6 +328,7 @@ public:
size_t length = SlGetStructListLength(UINT32_MAX);
la->change = ReallocT(la->change, length);
la->changes = (uint32)length;
for (size_t i = 0; i < length; i++) {
LoggedChange *lc = &la->change[i];