From 2b05a306e2475d247a4a6b007bfca596c1f88489 Mon Sep 17 00:00:00 2001 From: glx Date: Thu, 3 May 2007 17:07:51 +0000 Subject: (svn r9773) -Fix r9772: MSVC warning --- src/vehicle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3-70-g09d2