summaryrefslogtreecommitdiff
path: root/train_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'train_cmd.c')
-rw-r--r--train_cmd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/train_cmd.c b/train_cmd.c
index 2b06dd92b..fad5245af 100644
--- a/train_cmd.c
+++ b/train_cmd.c
@@ -2397,6 +2397,8 @@ static bool ProcessTrainOrder(Vehicle *v)
case OT_LOADING:
case OT_LEAVESTATION:
return false;
+
+ default: break;
}
// check if we've reached the waypoint?