summaryrefslogtreecommitdiff
path: root/aircraft_cmd.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2005-01-16 14:42:53 +0000
committertruelight <truelight@openttd.org>2005-01-16 14:42:53 +0000
commit8e404a26f65b8851b3dcf067fddf62f188005ee9 (patch)
tree6a56912dfd4ec0a7d3c46aa7b8cd50edb2d28031 /aircraft_cmd.c
parentbe5a832db39429d405f108170811f7695f1ee206 (diff)
downloadopenttd-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.c2
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 ||