diff options
Diffstat (limited to 'src/saveload')
-rw-r--r-- | src/saveload/order_sl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/saveload/order_sl.cpp b/src/saveload/order_sl.cpp index 8579746ce..dc583a371 100644 --- a/src/saveload/order_sl.cpp +++ b/src/saveload/order_sl.cpp @@ -140,8 +140,8 @@ static void Load_ORDR() free(orders); } else if (CheckSavegameVersionOldStyle(5, 2)) { - len /= sizeof(uint16); - uint16 *orders = MallocT<uint16>(len + 1); + len /= sizeof(uint32); + uint32 *orders = MallocT<uint32>(len + 1); SlArray(orders, len, SLE_UINT32); |