summaryrefslogtreecommitdiff
path: root/ship_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 /ship_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 'ship_cmd.c')
-rw-r--r--ship_cmd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ship_cmd.c b/ship_cmd.c
index 913112816..d5b5a1dfc 100644
--- a/ship_cmd.c
+++ b/ship_cmd.c
@@ -212,6 +212,8 @@ static void ProcessShipOrder(Vehicle *v)
case OT_LOADING:
case OT_LEAVESTATION:
return;
+
+ default: break;
}
if (v->cur_order_index >= v->num_orders) v->cur_order_index = 0;