putting that fail in one place.

This commit is contained in:
Chris Forbes
2009-12-22 12:56:46 +13:00
parent d052fd79e3
commit f20ecc8a5d
2 changed files with 6 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ namespace OpenRa.Game.Traits
() => (Util.QuantizeFacing(unit.Facing, 8)) * 6 + (int)(attack.primaryRecoil * 5.9f));
anims.Add( "muzzle", new AnimationWithOffset(
muzzleFlash,
() => new float2( self.Info.PrimaryOffset.ElementAtOrDefault( 2 ), self.Info.PrimaryOffset.ElementAtOrDefault( 3 ) ),
() => self.Info.PrimaryOffset.AbsOffset(),
() => attack.primaryRecoil <= 0 ) );
}
}