Fix turret facings for GTWR etc. Fixes #3610.

This commit is contained in:
Paul Chote
2013-08-03 11:47:25 +12:00
parent deb03e7a02
commit 03e09e25bb
7 changed files with 24 additions and 14 deletions

View File

@@ -52,7 +52,7 @@ namespace OpenRA.Mods.RA.Render
rightWake.Play("wake-right");
anims.Add("wake-right", new AnimationWithOffset(rightWake, null, () => facing.Facing <= 128, -87));
self.Trait<IBodyOrientation>().QuantizedFacings = 2;
self.Trait<IBodyOrientation>().SetAutodetectedFacings(2);
}
public void DamageStateChanged(Actor self, AttackInfo e)