mirror of https://github.com/OpenTTD/OpenTTD.git
Fix #9740: Fix loading of gamelog change items from savegame ver >= 294
This commit is contained in:
parent
97f545ba05
commit
e38c779b52
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue