Правки
This commit is contained in:
parent
d3d92672e1
commit
900539170d
@ -157,7 +157,7 @@ namespace AirFighter
|
|||||||
|
|
||||||
public bool Equals(AbstractMap? other)
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -65,7 +65,6 @@ namespace AirFighter
|
|||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// TODO доделать проверки в случае продвинутого объекта
|
|
||||||
if(airFighter is EntityUpgradeAirFighter upgradeAirFighter && otherAirFighterAirFighter is EntityUpgradeAirFighter upgradeOtherAirFighter)
|
if(airFighter is EntityUpgradeAirFighter upgradeAirFighter && otherAirFighterAirFighter is EntityUpgradeAirFighter upgradeOtherAirFighter)
|
||||||
{
|
{
|
||||||
if(upgradeAirFighter.DopWing != upgradeOtherAirFighter.DopWing)
|
if(upgradeAirFighter.DopWing != upgradeOtherAirFighter.DopWing)
|
||||||
|
Loading…
Reference in New Issue
Block a user