changeset 10952 | 8ad21fe5d062 |
parent 10905 | c0919d7e5ce9 |
child 10964 | 493bd837dc2e |
--- a/hedgewars/uGearsHandlersMess.pas Thu May 21 18:21:55 2015 +0900 +++ b/hedgewars/uGearsHandlersMess.pas Fri May 22 13:39:12 2015 -0400 @@ -1929,7 +1929,8 @@ Gear^.State:= Gear^.State and (not gstAttacking); Gear^.Timer:= Gear^.WDTimer end; - dec(Gear^.Timer); + if Gear^.Timer > 0 then + dec(Gear^.Timer); end end else // gsttmpFlag = 0