hedgewars/uGears.pas
changeset 7761 6dc1be8ff73e
parent 7755 b8958e64e68d
child 7767 d1ea9b3f543e
--- 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