summaryrefslogtreecommitdiff
path: root/aircraft_cmd.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2006-08-22 17:13:49 +0000
committertruelight <truelight@openttd.org>2006-08-22 17:13:49 +0000
commit1331b4aa9a525bb87c76c38bbc42d33d099bd026 (patch)
tree6fd89f2a96b8f71b4b34dda81300e4dd18bd4e6e /aircraft_cmd.c
parent88d196dff1a8e6f315d865765a05c25da72e11fd (diff)
downloadopenttd-1331b4aa9a525bb87c76c38bbc42d33d099bd026.tar.xz
(svn r6052) -Codechange: change OrderType (order->type) in a typedef
-Codechange: renamed DeleteDestinationFromVehicleOrder to RemoveOrderFromAllVehicles to reflect his function better -Codechange: changed the params of RemoveOrderFromAllVehicles, to avoid unneeded variable-creation
Diffstat (limited to 'aircraft_cmd.c')
-rw-r--r--aircraft_cmd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/aircraft_cmd.c b/aircraft_cmd.c
index c7ba62f20..1f9da7aa6 100644
--- a/aircraft_cmd.c
+++ b/aircraft_cmd.c
@@ -1179,6 +1179,8 @@ static void ProcessAircraftOrder(Vehicle *v)
break;
case OT_LOADING: return;
+
+ default: break;
}
if (v->cur_order_index >= v->num_orders) v->cur_order_index = 0;