diff options
author | maedhros <maedhros@openttd.org> | 2008-04-08 16:15:31 +0000 |
---|---|---|
committer | maedhros <maedhros@openttd.org> | 2008-04-08 16:15:31 +0000 |
commit | 85e5053b68c4861b51ff4ae377d4fee8ef2ffecf (patch) | |
tree | c202f40607a987f7e038031e7d1b0b5ba822c84a | |
parent | 96700d560560215ec24d283d774f7dbaa11c384c (diff) | |
download | openttd-85e5053b68c4861b51ff4ae377d4fee8ef2ffecf.tar.xz |
(svn r12630) -Fix (r12600): Missing 'break' made it impossible to add waypoints to vehicle orders.
-rw-r--r-- | src/order_cmd.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/order_cmd.cpp b/src/order_cmd.cpp index f2583598b..884f54fe8 100644 --- a/src/order_cmd.cpp +++ b/src/order_cmd.cpp @@ -382,6 +382,8 @@ CommandCost CmdInsertOrder(TileIndex tile, uint32 flags, uint32 p1, uint32 p2) * [non-stop] * non-stop orders (if any) are only valid for trains */ if (new_order.GetNonStopType() != ONSF_STOP_EVERYWHERE && v->type != VEH_TRAIN) return CMD_ERROR; + + break; } default: return CMD_ERROR; |