--- a/hedgewars/uCollisions.pas Thu Dec 04 21:17:03 2008 +0000
+++ b/hedgewars/uCollisions.pas Thu Dec 04 21:59:25 2008 +0000
@@ -203,7 +203,7 @@
if (Gear <> cGear) and
(sqr(mx - x) + sqr(my - y) <= sqr(Radius + Gear^.Radius + 2)) and
((mx > x) xor (Dir > 0)) then
- if (cGear^.Kind in [gtHedgehog, gtMine]) then
+ if (cGear^.Kind in [gtHedgehog, gtMine]) and ((Gear^.State and gstNotKickable) = 0) then
begin
with cGear^ do
begin
@@ -255,7 +255,7 @@
if (Gear <> cGear) and
(sqr(mx - x) + sqr(my - y) <= sqr(Radius + Gear^.Radius + 2)) and
((my > y) xor (Dir > 0)) then
- if (cGear^.Kind in [gtHedgehog, gtMine]) then
+ if (cGear^.Kind in [gtHedgehog, gtMine]) and ((Gear^.State and gstNotKickable) = 0) then
begin
with cGear^ do
begin