summaryrefslogtreecommitdiff
path: root/ship_cmd.c
diff options
context:
space:
mode:
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;