Fix #9740: Fix loading of gamelog change items from savegame ver >= 294
This commit is contained in:

committed by
Niels Martin Hansen

parent
ad89601c49
commit
762b656b53
@@ -328,6 +328,7 @@ public:
|
|||||||
|
|
||||||
size_t length = SlGetStructListLength(UINT32_MAX);
|
size_t length = SlGetStructListLength(UINT32_MAX);
|
||||||
la->change = ReallocT(la->change, length);
|
la->change = ReallocT(la->change, length);
|
||||||
|
la->changes = (uint32)length;
|
||||||
|
|
||||||
for (size_t i = 0; i < length; i++) {
|
for (size_t i = 0; i < length; i++) {
|
||||||
LoggedChange *lc = &la->change[i];
|
LoggedChange *lc = &la->change[i];
|
||||||
|
Reference in New Issue
Block a user