(svn r9773) -Fix r9772: MSVC warning

This commit is contained in:
glx 2007-05-03 17:07:51 +00:00
parent 9194d5ab9e
commit a7c39f7325
1 changed files with 1 additions and 1 deletions

View File

@ -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);