# HG changeset patch # User sheepluva # Date 1320063130 -3600 # Node ID 103bc8fd4f1bee3aba0015e90688ccebe058c1d5 # Parent 6dfad55fd71c47f7bcea68d45e5929b77edb82c9 don't hide target cursor if a hedgehog (other than current) is drowning, thanks to mikade for pointing this out diff -r 6dfad55fd71c -r 103bc8fd4f1b hedgewars/HHHandlers.inc --- a/hedgewars/HHHandlers.inc Mon Oct 31 03:08:16 2011 +0100 +++ b/hedgewars/HHHandlers.inc Mon Oct 31 13:12:10 2011 +0100 @@ -877,7 +877,10 @@ Gear^.Y:= Gear^.Y + _1 end; CheckGearDrowning(Gear); - if (Gear^.State and gstDrowning) <> 0 then isCursorVisible:= false + // hide target cursor if current hog is drowning + if (Gear^.State and gstDrowning) <> 0 then + if (CurrentHedgehog^.Gear = Gear) then + isCursorVisible:= false end; if (hwAbs(Gear^.dY) > _0) and (Gear^.FlightTime > 0) and ((GameFlags and gfLowGravity) = 0) then