summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2007-05-03 17:07:51 +0000
committerglx <glx@openttd.org>2007-05-03 17:07:51 +0000
commita7c39f7325eec79a1363b8cb5094805421ade01c (patch)
tree07aa6d4587a086bc9134c311b3fd302cd9705c4a
parent9194d5ab9e46dd12d4098e7cf99727df9f8b9eca (diff)
downloadopenttd-a7c39f7325eec79a1363b8cb5094805421ade01c.tar.xz
(svn r9773) -Fix r9772: MSVC warning
-rw-r--r--src/vehicle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp
index 41cb04caa..3d2642d36 100644
--- a/src/vehicle.cpp
+++ b/src/vehicle.cpp
@@ -756,7 +756,7 @@ bool CanFillVehicle(Vehicle *front_v)
IsTileType(TILE_ADDXY(tile, -2, 0), MP_STATION)
)));
- bool full_load = front_v->current_order.flags & OF_FULL_LOAD;
+ bool full_load = HASBIT(front_v->current_order.flags, OFB_FULL_LOAD);
/* If patch is active, use alternative CanFillVehicle-function */
if (_patches.full_load_any && full_load) return CanFillVehicle_FullLoadAny(front_v);