Kashin M.I. Lab work 8 #8
@ -57,10 +57,10 @@ namespace GasolineTanker
|
||||
return false;
|
||||
}
|
||||
if (entity is EntityImprovedGasolineTanker entityImprovedGasolineTanker &&
|
||||
otherEntity is EntityImprovedGasolineTanker otherEntityWarmlyShip && (
|
||||
entityImprovedGasolineTanker.BodyColor != otherEntityWarmlyShip.BodyColor ||
|
||||
entityImprovedGasolineTanker.DopColor != otherEntityWarmlyShip.DopColor ||
|
||||
entityImprovedGasolineTanker.BodyKit != otherEntityWarmlyShip.BodyKit))
|
||||
otherEntity is EntityImprovedGasolineTanker otherEntityWarmlyGasolineTanker && (
|
||||
entityImprovedGasolineTanker.BodyColor != otherEntityWarmlyGasolineTanker.BodyColor ||
|
||||
entityImprovedGasolineTanker.DopColor != otherEntityWarmlyGasolineTanker.DopColor ||
|
||||
entityImprovedGasolineTanker.BodyKit != otherEntityWarmlyGasolineTanker.BodyKit))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user