# HG changeset patch # User nemo # Date 1274057296 0 # Node ID 39e16d76d745688f054bbad10ee7020d01b667ea # Parent c7b80bdbc3840895daad111fbd7436f82cc27172 Fix for artillery mode weapon use diff -r c7b80bdbc384 -r 39e16d76d745 hedgewars/HHHandlers.inc --- a/hedgewars/HHHandlers.inc Sun May 16 23:43:45 2010 +0000 +++ b/hedgewars/HHHandlers.inc Mon May 17 00:48:16 2010 +0000 @@ -139,7 +139,7 @@ xx:= SignAs(AngleSin(Angle), dX); yy:= -AngleCos(Angle); - if ((Gear^.State and gstHHHJump) <> 0) then xx:= - xx; + if ((Gear^.State and gstHHHJump) <> 0) and (not cArtillery) then xx:= - xx; if Ammo^[CurSlot, CurAmmo].AttackVoice <> sndNone then PlaySound(Ammo^[CurSlot, CurAmmo].AttackVoice, CurrentTeam^.voicepack); case Ammo^[CurSlot, CurAmmo].AmmoType of