hedgewars/uGearsHandlersMess.pas
changeset 15684 41121e2f5c03
parent 15683 255422cd8a44
child 15692 dc965b82ed13
--- a/hedgewars/uGearsHandlersMess.pas	Tue Jun 30 22:36:53 2020 +0300
+++ b/hedgewars/uGearsHandlersMess.pas	Tue Jun 30 23:25:52 2020 +0300
@@ -7255,7 +7255,7 @@
     if CheckGearDrowning(Gear) then
         exit;
 
-    if TestCollisionY(Gear, 1) = 0 then
+    if TestCollisionYwithGear(Gear, 1) = 0 then
     begin
         doStepFallingGear(Gear);
         if Gear^.Tag <> sentry_Idle then