changeset 15185 | 061a3085d6d8 |
parent 15184 | cd38295cac16 |
child 15186 | d13a38548112 |
--- a/hedgewars/uGearsHandlersMess.pas Wed Jun 19 19:02:49 2019 +0200 +++ b/hedgewars/uGearsHandlersMess.pas Wed Jun 19 20:37:02 2019 +0200 @@ -2706,7 +2706,9 @@ tdX,tdY, f: HWFloat; landPixel: Word; begin - WorldWrap(Gear); + // don't bounce + if WorldEdge <> weBounce then + WorldWrap(Gear); if Gear^.FlightTime > 0 then dec(Gear^.FlightTime); // There are 2 flame types: normal and sticky sticky:= (Gear^.State and gsttmpFlag) <> 0;