diff --git a/AirFighter/AirFighter/AbstractMap.cs b/AirFighter/AirFighter/AbstractMap.cs index 9bc4e90..67f3ca5 100644 --- a/AirFighter/AirFighter/AbstractMap.cs +++ b/AirFighter/AirFighter/AbstractMap.cs @@ -157,7 +157,7 @@ namespace AirFighter public bool Equals(AbstractMap? other) { - if (other == null || _height != other._height || _width != other._width || _map != other._map || _size_x != other._size_x || _size_y != other._size_y) + if (other == null || _height != other._height || _width != other._width || _size_x != other._size_x || _size_y != other._size_y) { return false; } diff --git a/AirFighter/AirFighter/DrawningObjectAirFighter.cs b/AirFighter/AirFighter/DrawningObjectAirFighter.cs index 5666f56..99fe7a6 100644 --- a/AirFighter/AirFighter/DrawningObjectAirFighter.cs +++ b/AirFighter/AirFighter/DrawningObjectAirFighter.cs @@ -65,7 +65,6 @@ namespace AirFighter { return false; } - // TODO доделать проверки в случае продвинутого объекта if(airFighter is EntityUpgradeAirFighter upgradeAirFighter && otherAirFighterAirFighter is EntityUpgradeAirFighter upgradeOtherAirFighter) { if(upgradeAirFighter.DopWing != upgradeOtherAirFighter.DopWing)