# HG changeset patch # User nemo # Date 1350409283 14400 # Node ID 6dc1be8ff73ed76821891c53be43f7a7a42be44f # Parent ccc8bd5205ff11ab5feaf88f29ef77cc97c3a0d9 skip all dx/dy mod if Power is 0 diff -r ccc8bd5205ff -r 6dc1be8ff73e hedgewars/uGears.pas --- a/hedgewars/uGears.pas Tue Oct 16 17:16:08 2012 +0400 +++ b/hedgewars/uGears.pas Tue Oct 16 13:41:23 2012 -0400 @@ -819,7 +819,7 @@ Gear^.dX:= Ammo^.dX * Power * _0_005; Gear^.dY:= Ammo^.dY * Power * _0_005 end - else if (Ammo^.Kind <> gtFlame) or (Gear^.Kind = gtHedgehog) then + else if ((Ammo^.Kind <> gtFlame) or (Gear^.Kind = gtHedgehog)) and (Power <> 0) then begin Gear^.dX:= Ammo^.dX * Power * _0_01; Gear^.dY:= Ammo^.dY * Power * _0_01