author | glx |
Thu, 03 May 2007 17:07:51 +0000 | |
changeset 7064 | 4c448d454ee6 |
parent 7063 | f8b804793df0 |
child 7065 | 9932c4f5303a |
src/vehicle.cpp | file | annotate | diff | comparison | revisions |
--- a/src/vehicle.cpp Thu May 03 11:02:37 2007 +0000 +++ b/src/vehicle.cpp Thu May 03 17:07:51 2007 +0000 @@ -756,7 +756,7 @@ 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);