Restore this for now until I figure out why ShowCrosshair is being cleared on last rope
authornemo
Sat, 27 Mar 2010 17:45:26 +0000
changeset 3121 77cfee30b952
parent 3120 85272d1d4fa3
child 3122 e005359efc59
Restore this for now until I figure out why ShowCrosshair is being cleared on last rope
hedgewars/uGears.pas
--- a/hedgewars/uGears.pas	Sat Mar 27 17:40:42 2010 +0000
+++ b/hedgewars/uGears.pas	Sat Mar 27 17:45:26 2010 +0000
@@ -962,7 +962,7 @@
 if (Gear^.State and gstHHDriven) <> 0 then
     begin
     if ((Gear^.State and gstHHThinking) = 0) and
-       ShowCrosshair and 
+       (ShowCrosshair  or ((CurAmmoGear <> nil) and (CurAmmoGear^.Kind = gtRope))) and
        ((Gear^.State and (gstAttacked or gstAnimation)) = 0) then
         begin
 (* These calculations are a little complex for a few reasons: