From 900539170daee6d6e06f96ca6f770b38b9cc9dd4 Mon Sep 17 00:00:00 2001 From: Danil Kargin Date: Tue, 13 Dec 2022 08:40:05 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=B0=D0=B2=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AirFighter/AirFighter/AbstractMap.cs | 2 +- AirFighter/AirFighter/DrawningObjectAirFighter.cs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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)