Skip to content

Commit

Permalink
Update Armament.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
MustaphaTR committed Jan 7, 2024
1 parent 52cc2d3 commit 153fe1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenRA.Mods.Common/Traits/Armament.cs
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ protected virtual WVec CalculateFireEffectOffset(Actor self, WVec offset)
var effectOffset = offset + new WVec(-Recoil, WDist.Zero, WDist.Zero);

if (hovers != null)
localOffset += hovers.WorldVisualOffset;
effectOffset += hovers.WorldVisualOffset;

// Turret coordinates to body coordinates
var bodyOrientation = coords.QuantizeOrientation(self.Orientation);
Expand Down

0 comments on commit 153fe1d

Please sign in to comment.