Add CurrentMuzzleFacing to FireClusterWarhead.

This commit is contained in:
Mustafa Alperen Seki
2020-07-28 11:55:26 +03:00
committed by reaperrr
parent c546cb552e
commit 1ae53220d6

View File

@@ -77,6 +77,7 @@ namespace OpenRA.Mods.Common.Warheads
{
Weapon = weapon,
Facing = (map.CenterOfCell(targetCell) - target.CenterPosition).Yaw,
CurrentMuzzleFacing = () => (map.CenterOfCell(targetCell) - target.CenterPosition).Yaw,
DamageModifiers = args.DamageModifiers,
InaccuracyModifiers = new int[0],