fin com
This commit is contained in:
parent
683225f26e
commit
ee9cf0f9d6
@ -25,9 +25,9 @@ namespace AirBomber
|
||||
{
|
||||
return x.EntityBomber.BodyColor.Name.CompareTo(y.EntityBomber.BodyColor.Name);
|
||||
}
|
||||
if (x.GetType() == y.GetType() && x is EntityBomber)
|
||||
if (x.GetType() == y.GetType() && x is DrawningAirBomber)
|
||||
{
|
||||
return (x.EntityBomber as EntityAirBomber).DopColor.Name.CompareTo((y.EntityBomber as EntityAirBomber).DopColor.Name);
|
||||
return ((EntityAirBomber)x.EntityBomber).DopColor.Name.CompareTo(((EntityAirBomber)y.EntityBomber).DopColor.Name);
|
||||
}
|
||||
var speedCompare = x.EntityBomber.Speed.CompareTo(y.EntityBomber.Speed);
|
||||
if (speedCompare != 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user