1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-23 22:49:09 +00:00

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

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];