equal
deleted
inserted
replaced
316 break; |
316 break; |
317 } |
317 } |
318 } |
318 } |
319 |
319 |
320 /* check waypoint */ |
320 /* check waypoint */ |
321 if (IsTileType(tile, MP_RAILWAY) && |
321 if (IsRailWaypointTile(tile) && |
322 v->type == VEH_TRAIN && |
322 v->type == VEH_TRAIN && |
323 IsTileOwner(tile, _local_player) && |
323 IsTileOwner(tile, _local_player)) { |
324 IsRailWaypoint(tile)) { |
|
325 order.MakeGoToWaypoint(GetWaypointByTile(tile)->index); |
324 order.MakeGoToWaypoint(GetWaypointByTile(tile)->index); |
326 if (_settings_client.gui.new_nonstop) order.SetNonStopType(ONSF_NO_STOP_AT_INTERMEDIATE_STATIONS); |
325 if (_settings_client.gui.new_nonstop) order.SetNonStopType(ONSF_NO_STOP_AT_INTERMEDIATE_STATIONS); |
327 return order; |
326 return order; |
328 } |
327 } |
329 |
328 |