| author | glx |
| Thu, 03 May 2007 17:07:51 +0000 | |
| changeset 6568 | 583bac42c20c |
| parent 6567 | 54ccb4a60c88 |
| child 6569 | 40b121ba191e |
| 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);