hedgewars/uIO.pas
changeset 12687 ebb32d3021a5
parent 12650 eaf719616c7b
child 12736 7cbb0241d31c
--- a/hedgewars/uIO.pas	Tue Oct 10 23:42:56 2017 +0200
+++ b/hedgewars/uIO.pas	Wed Oct 11 01:03:30 2017 +0200
@@ -477,7 +477,7 @@
     CurrentHedgehog^ do
     if (State and gstChooseTarget) <> 0 then
         begin
-        if CurAmmoType = amBee then
+        if (Ammoz[CurAmmoType].Ammo.Propz and ammoprop_NoTargetAfter) <> 0 then
             isCursorVisible:= false;
         if not CurrentTeam^.ExtDriven then
             begin