Fix IDE0038
This commit is contained in:
@@ -44,7 +44,7 @@ namespace OpenRA
|
||||
public override int GetHashCode() { return Angle.GetHashCode(); }
|
||||
|
||||
public bool Equals(WAngle other) { return other == this; }
|
||||
public override bool Equals(object obj) { return obj is WAngle && Equals((WAngle)obj); }
|
||||
public override bool Equals(object obj) { return obj is WAngle angle && Equals(angle); }
|
||||
|
||||
public int Facing => Angle / 4;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user