From 1ae53220d6769cf3106a1b33daaa05fff390f40e Mon Sep 17 00:00:00 2001 From: Mustafa Alperen Seki Date: Tue, 28 Jul 2020 11:55:26 +0300 Subject: [PATCH] Add CurrentMuzzleFacing to FireClusterWarhead. --- OpenRA.Mods.Common/Warheads/FireClusterWarhead.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenRA.Mods.Common/Warheads/FireClusterWarhead.cs b/OpenRA.Mods.Common/Warheads/FireClusterWarhead.cs index 9b0e00f20c..0d0cebedc6 100644 --- a/OpenRA.Mods.Common/Warheads/FireClusterWarhead.cs +++ b/OpenRA.Mods.Common/Warheads/FireClusterWarhead.cs @@ -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],