(svn r12630) -Fix (r12600): Missing 'break' made it impossible to add waypoints to vehicle orders.

This commit is contained in:
maedhros 2008-04-08 16:15:31 +00:00
parent 96700d5605
commit 85e5053b68
1 changed files with 2 additions and 0 deletions

View File

@ -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;