Add CurrentMuzzleFacing to FireClusterWarhead.
This commit is contained in:
committed by
reaperrr
parent
c546cb552e
commit
1ae53220d6
@@ -77,6 +77,7 @@ namespace OpenRA.Mods.Common.Warheads
|
|||||||
{
|
{
|
||||||
Weapon = weapon,
|
Weapon = weapon,
|
||||||
Facing = (map.CenterOfCell(targetCell) - target.CenterPosition).Yaw,
|
Facing = (map.CenterOfCell(targetCell) - target.CenterPosition).Yaw,
|
||||||
|
CurrentMuzzleFacing = () => (map.CenterOfCell(targetCell) - target.CenterPosition).Yaw,
|
||||||
|
|
||||||
DamageModifiers = args.DamageModifiers,
|
DamageModifiers = args.DamageModifiers,
|
||||||
InaccuracyModifiers = new int[0],
|
InaccuracyModifiers = new int[0],
|
||||||
|
|||||||
Reference in New Issue
Block a user