changes facing (and desireFacing) on Mobile and on Turreted. range is now 0..255
This commit is contained in:
@@ -12,7 +12,7 @@ namespace OpenRa.Game.Traits
|
||||
public RenderUnit(Actor self)
|
||||
: base(self)
|
||||
{
|
||||
anim.PlayFetchIndex("idle", () => self.traits.Get<Mobile>().facing);
|
||||
anim.PlayFetchIndex("idle", () => self.traits.Get<Mobile>().facing / 8);
|
||||
}
|
||||
|
||||
protected static Pair<Sprite, float2> Centered(Sprite s, float2 location)
|
||||
|
||||
Reference in New Issue
Block a user