hedgewars/uGearsHandlersMess.pas
changeset 12204 f7c295971143
parent 12203 f770c8029f7c
child 12205 02f6d786627d
--- a/hedgewars/uGearsHandlersMess.pas	Thu May 12 17:23:06 2016 +0200
+++ b/hedgewars/uGearsHandlersMess.pas	Thu May 12 18:16:09 2016 +0200
@@ -6424,8 +6424,10 @@
             end;
         end;
 
+    if Gear^.Pos <> 0 then
+        // Manual collision check required because we don't use onStepFallingGear in this case
+        CheckCollision(Gear);
     // Explode duck
-    CheckCollision(Gear);
     if (Gear^.Timer = 0) or ((Gear^.State and gstCollision) <> 0) then
         begin
         doMakeExplosion(hwRound(Gear^.X), hwRound(Gear^.Y), Gear^.Boom, Gear^.Hedgehog, EXPLAutoSound);