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 | 49a515f210851b87baac5c972b98c7ea3c1a273c (patch) | |
tree | c202f40607a987f7e038031e7d1b0b5ba822c84a /src/order_cmd.cpp | |
parent | b91781b715272c0248b766d4e92da812a3c203ee (diff) | |
download | openttd-49a515f210851b87baac5c972b98c7ea3c1a273c.tar.xz |
(svn r12630) -Fix (r12600): Missing 'break' made it impossible to add waypoints to vehicle orders.
Diffstat (limited to 'src/order_cmd.cpp')
-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; |