diff options
author | rubidium <rubidium@openttd.org> | 2008-01-15 18:44:22 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-01-15 18:44:22 +0000 |
commit | 576f8ad93e5eb2d2c2777ae1e448ae80e80d14ba (patch) | |
tree | 7948f0844d640b0be32729fdeaf9be3da5453758 /src/station_cmd.cpp | |
parent | ab7cb0804de68b015dcc774a4fbcc82e356d2c87 (diff) | |
download | openttd-576f8ad93e5eb2d2c2777ae1e448ae80e80d14ba.tar.xz |
(svn r11866) -Codechange: swap OFB_* and OF_* so it conceptually in sync with other cases of *B_* vs *_* like VETSB_* and VETS_*.
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r-- | src/station_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index ac748b5d8..83b07ca62 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -2354,9 +2354,9 @@ static VehicleEnterTileStatus VehicleEnter_Station(Vehicle *v, TileIndex tile, i !IsCompatibleTrainStationTile(tile + TileOffsByDiagDir(DirToDiagDir(v->direction)), tile)) { StationID station_id = GetStationIndex(tile); - if ((!(v->current_order.flags & OF_NON_STOP) && !_patches.new_nonstop) || + if ((!(v->current_order.flags & OFB_NON_STOP) && !_patches.new_nonstop) || (v->current_order.type == OT_GOTO_STATION && v->current_order.dest == station_id)) { - if (!(_patches.new_nonstop && v->current_order.flags & OF_NON_STOP) && + if (!(_patches.new_nonstop && v->current_order.flags & OFB_NON_STOP) && v->current_order.type != OT_LEAVESTATION && v->last_station_visited != station_id) { DiagDirection dir = DirToDiagDir(v->direction); |