hedgewars/uIO.pas
changeset 10818 f642a28cab0c
parent 10663 9bbb29d2bd68
child 10850 c76ea22ea249
--- a/hedgewars/uIO.pas	Sat Feb 07 23:25:33 2015 +0300
+++ b/hedgewars/uIO.pas	Sat Feb 14 17:34:12 2015 -0500
@@ -462,7 +462,7 @@
 
 with CurrentHedgehog^.Gear^,
     CurrentHedgehog^ do
-    if (State and gstHHChooseTarget) <> 0 then
+    if (State and gstChooseTarget) <> 0 then
         begin
         isCursorVisible:= false;
         if not CurrentTeam^.ExtDriven then
@@ -485,7 +485,7 @@
             TargetPoint.Y:= putY
             end;
         AddFileLog('put: ' + inttostr(TargetPoint.X) + ', ' + inttostr(TargetPoint.Y));
-        State:= State and (not gstHHChooseTarget);
+        State:= State and (not gstChooseTarget);
         if (Ammoz[CurAmmoType].Ammo.Propz and ammoprop_AttackingPut) <> 0 then
             Message:= Message or (gmAttack and InputMask);
         end