mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-15 08:35:11 +01:00
(svn r1005) Don't treat orders in the normal load routine as old orders, this lead to corruption on load.
This commit is contained in:
parent
ea8311301e
commit
bd1d21911d
@ -1920,7 +1920,7 @@ static void Load_ORDR()
|
|||||||
SlArray(orders, len, SLE_UINT16);
|
SlArray(orders, len, SLE_UINT16);
|
||||||
|
|
||||||
for (i = 0; i < len; ++i)
|
for (i = 0; i < len; ++i)
|
||||||
_order_array[i] = UnpackOldOrder(orders[i]);
|
_order_array[i] = UnpackOrder(orders[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
const ChunkHandler _veh_chunk_handlers[] = {
|
const ChunkHandler _veh_chunk_handlers[] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user