Fix public/static ordering.

This commit is contained in:
Paul Chote
2014-12-26 11:44:00 +13:00
parent 904efac284
commit 9e47634d0f

View File

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