# HG changeset patch # User Wuzzy # Date 1593062158 -7200 # Node ID e229d0cacd37c7fa1b1f8ff43e65c50f81bc77b6 # Parent 21dece8f55fe3d63c93323536f70ce03f104ca1b Don't check speed and land for MoreWind check in doFallingGear Disabling More Wind is completely timer-based, so the additional check for collision and speed is no longer neccessary diff -r 21dece8f55fe -r e229d0cacd37 hedgewars/uGearsHandlersMess.pas --- a/hedgewars/uGearsHandlersMess.pas Thu Jun 25 06:44:35 2020 +0200 +++ b/hedgewars/uGearsHandlersMess.pas Thu Jun 25 07:15:58 2020 +0200 @@ -543,9 +543,7 @@ // while a gear is moving, this can be rather confusing. // TODO: Find a way to make gfMoreWind-affected land objects settle more reliably // and quickler without touching wind itselvs - ((not (Gear^.Kind in [gtMine, gtAirMine, gtSMine, gtKnife, gtExplosives])) or (TimeNotInTurn < MaxMoreWindTime)) and - ((xland or land) = 0) and - ((Gear^.dX.QWordValue + Gear^.dY.QWordValue) > _0_02.QWordValue) then + ((not (Gear^.Kind in [gtMine, gtAirMine, gtSMine, gtKnife, gtExplosives])) or (TimeNotInTurn < MaxMoreWindTime)) then Gear^.dX := Gear^.dX + cWindSpeed / Gear^.Density end;