summaryrefslogtreecommitdiff
path: root/vehicle.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2004-12-10 13:10:17 +0000
committertron <tron@openttd.org>2004-12-10 13:10:17 +0000
commitbd1d21911d8da94b384dbc6d7ac0773fb816946b (patch)
tree562f8e3bb5f3676975c62856a2ec894fb4d98192 /vehicle.c
parentea8311301ead21454404e06748bfe2ebac71a327 (diff)
downloadopenttd-bd1d21911d8da94b384dbc6d7ac0773fb816946b.tar.xz
(svn r1005) Don't treat orders in the normal load routine as old orders, this lead to corruption on load.
Diffstat (limited to 'vehicle.c')
-rw-r--r--vehicle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vehicle.c b/vehicle.c
index fa022a60c..1701ff70e 100644
--- a/vehicle.c
+++ b/vehicle.c
@@ -1920,7 +1920,7 @@ static void Load_ORDR()
SlArray(orders, len, SLE_UINT16);
for (i = 0; i < len; ++i)
- _order_array[i] = UnpackOldOrder(orders[i]);
+ _order_array[i] = UnpackOrder(orders[i]);
}
const ChunkHandler _veh_chunk_handlers[] = {