diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/saveload/gamelog_sl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/saveload/gamelog_sl.cpp b/src/saveload/gamelog_sl.cpp index 89db17424..72d3f3d85 100644 --- a/src/saveload/gamelog_sl.cpp +++ b/src/saveload/gamelog_sl.cpp @@ -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]; |