src/station_cmd.cpp
changeset 8302 ed068d41cf1e
parent 8300 dfd530665621
child 8306 22e1344c5457
--- a/src/station_cmd.cpp	Tue Jan 15 16:30:08 2008 +0000
+++ b/src/station_cmd.cpp	Tue Jan 15 18:44:22 2008 +0000
@@ -2354,9 +2354,9 @@
 				!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);