diff options
author | truelight <truelight@openttd.org> | 2005-01-16 14:42:53 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2005-01-16 14:42:53 +0000 |
commit | 8e404a26f65b8851b3dcf067fddf62f188005ee9 (patch) | |
tree | 6a56912dfd4ec0a7d3c46aa7b8cd50edb2d28031 /aircraft_cmd.c | |
parent | be5a832db39429d405f108170811f7695f1ee206 (diff) | |
download | openttd-8e404a26f65b8851b3dcf067fddf62f188005ee9.tar.xz |
(svn r1544) -Fix: SwapOrder did not use AssignOrder, which caused the saveroutine to
crash from time to time
-Codechange: added const before 'Order *' where possible
Diffstat (limited to 'aircraft_cmd.c')
-rw-r--r-- | aircraft_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/aircraft_cmd.c b/aircraft_cmd.c index d13af1a41..4f61d21a7 100644 --- a/aircraft_cmd.c +++ b/aircraft_cmd.c @@ -1023,7 +1023,7 @@ static void HandleAircraftSmoke(Vehicle *v) static void ProcessAircraftOrder(Vehicle *v) { - Order *order; + const Order *order; // OT_GOTO_DEPOT, OT_LOADING if (v->current_order.type == OT_GOTO_DEPOT || |