hedgewars/uGearsHandlersMess.pas
changeset 11923 9da78300c5d0
parent 11920 16ce211010cf
child 12099 4dfc95eabee1
--- a/hedgewars/uGearsHandlersMess.pas	Sun May 01 00:09:14 2016 +0200
+++ b/hedgewars/uGearsHandlersMess.pas	Sun May 01 01:04:45 2016 +0200
@@ -1407,9 +1407,7 @@
         if (HHGear^.Angle >= 1) then
             dec(HHGear^.Angle);
 
-    if (TurnTimeLeft > 0) then
-        dec(TurnTimeLeft)
-    else
+    if (TurnTimeLeft = 0) then
         begin
         HHGear^.State := HHGear^.State and (not gstNotKickable);
         DeleteGear(Gear);