summaryrefslogtreecommitdiff
path: root/src/ship_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ship_cmd.cpp')
-rw-r--r--src/ship_cmd.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ship_cmd.cpp b/src/ship_cmd.cpp
index 50f92f600..30ecac1a2 100644
--- a/src/ship_cmd.cpp
+++ b/src/ship_cmd.cpp
@@ -274,7 +274,7 @@ static void ProcessShipOrder(Vehicle *v)
static void HandleShipLoading(Vehicle *v)
{
switch (v->current_order.type) {
- case OT_LOADING:
+ case OT_LOADING: {
if (--v->load_unload_time_rem) return;
if (CanFillVehicle(v) && (
@@ -294,6 +294,7 @@ static void HandleShipLoading(Vehicle *v)
v->LeaveStation();
if (!(b.flags & OF_NON_STOP)) return;
break;
+ }
case OT_DUMMY: break;