hedgewars/uGearsUtils.pas
changeset 12920 21827fc9ca98
parent 12898 8a40ce061d94
child 12937 a84a05719454
--- a/hedgewars/uGearsUtils.pas	Wed Feb 07 12:30:11 2018 +0100
+++ b/hedgewars/uGearsUtils.pas	Thu Feb 08 07:09:39 2018 +0100
@@ -1192,7 +1192,7 @@
     usable:= true;
     HH:= HHGear^.Hedgehog;
     if HHGear <> nil then
-    if (HHGear = nil) or (HH^.King) or (SuddenDeathDmg) then
+    if (HHGear = nil) or (HH^.King) or (SuddenDeathActive) then
         usable:= false;
     cnt:= 0;
     for j:= 0 to Pred(HH^.Team^.Clan^.TeamsNumber) do