331 {
332 if (container)
333 {
334
335 int liquid_type = container.GetLiquidType();
336
337
338 if ( container.GetQuantity() > 0 && GetCompEM().
GetEnergy() < GetCompEM().GetEnergyMax() && (liquid_type &
LIQUID_GASOLINE))
339 {
340 return true;
341 }
342 }
343
344 return false;
345 }
const int LIQUID_GASOLINE