Fix public/static ordering.
This commit is contained in:
@@ -75,7 +75,7 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
rotorAnim.ReplaceAnim(isFlying ? info.Sequence : info.GroundSequence);
|
rotorAnim.ReplaceAnim(isFlying ? info.Sequence : info.GroundSequence);
|
||||||
}
|
}
|
||||||
|
|
||||||
static public int ZOffsetFromCenter(Actor self, WPos pos, int offset)
|
public static int ZOffsetFromCenter(Actor self, WPos pos, int offset)
|
||||||
{
|
{
|
||||||
var delta = self.CenterPosition - pos;
|
var delta = self.CenterPosition - pos;
|
||||||
return delta.Y + delta.Z + offset;
|
return delta.Y + delta.Z + offset;
|
||||||
|
|||||||
Reference in New Issue
Block a user