# HG changeset patch # User alfadur # Date 1593548752 -10800 # Node ID 41121e2f5c038e6ce3dd5b810499115b8e13b5b7 # Parent 255422cd8a443dbbe66a3fe60fb2b69eb2e00f38 prevent sentries from getting stuck on mines diff -r 255422cd8a44 -r 41121e2f5c03 hedgewars/uGearsHandlersMess.pas --- 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