Правки

This commit is contained in:
Danil Kargin 2022-12-13 08:40:05 +04:00
parent d3d92672e1
commit 900539170d
2 changed files with 1 additions and 2 deletions

View File

@ -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;
}

View File

@ -65,7 +65,6 @@ namespace AirFighter
{
return false;
}
// TODO доделать проверки в случае продвинутого объекта
if(airFighter is EntityUpgradeAirFighter upgradeAirFighter && otherAirFighterAirFighter is EntityUpgradeAirFighter upgradeOtherAirFighter)
{
if(upgradeAirFighter.DopWing != upgradeOtherAirFighter.DopWing)