316 {
317 if (container)
318 {
319
320 int liquid_type = container.GetLiquidType();
321
322
323 if ( container.GetQuantity() > 0 && GetCompEM().
GetEnergy() < GetCompEM().GetEnergyMax() && (liquid_type &
LIQUID_GASOLINE))
324 {
325 return true;
326 }
327 }
328
329 return false;
330 }
const int LIQUID_GASOLINE