hedgewars/GSHandlers.inc
changeset 5186 a05c14510c8a
parent 5173 4056310a161a
child 5197 9fa96377a69c
--- a/hedgewars/GSHandlers.inc	Thu Apr 28 00:16:36 2011 +0200
+++ b/hedgewars/GSHandlers.inc	Thu Apr 28 01:01:07 2011 +0200
@@ -615,7 +615,7 @@
             end;
 
         inc(Health, 8);
-        if Health > vobFrameTicks then
+        if longword(Health) > vobFrameTicks then
             begin
             dec(Health, vobFrameTicks);
             inc(Timer);