hedgewars/uGearsHandlersMess.pas
changeset 12305 6486a012987e
parent 12304 6b25d117a904
child 12311 cdd884397760
--- a/hedgewars/uGearsHandlersMess.pas	Sat Apr 22 18:00:57 2017 +0200
+++ b/hedgewars/uGearsHandlersMess.pas	Sat Apr 22 18:12:58 2017 +0200
@@ -6066,9 +6066,10 @@
                                 iter^.Damage := 0;
                                 iter^.State := iter^.State and (not gstAttacking)
                                 end
-                            else if iter^.Kind = gtSMine then // disabe sticky mine
+                            else if iter^.Kind = gtSMine then // disabe sticky mine and drop it into the water
                                 begin
                                 iter^.State:= iter^.State or gstFrozen;
+                                iter^.CollisionMask:= 0;
                                 vg:= AddVisualGear(hwRound(iter^.X) - 2  + Random(4), hwRound(iter^.Y) - 2 - Random(2), vgtSmoke);
                                 if vg <> nil then
                                     vg^.Scale:= 0.4;