hedgewars/GSHandlers.inc
changeset 5970 b0ea168b60e1
parent 5969 6b245d2215c2
child 5971 44b063166bb2
--- a/hedgewars/GSHandlers.inc	Tue Sep 20 12:02:58 2011 -0400
+++ b/hedgewars/GSHandlers.inc	Tue Sep 20 12:46:45 2011 -0400
@@ -5115,7 +5115,7 @@
             RestoreHog(HH)
         end;
 
-    inc(Gear^.Timer);
+    if (Gear^.Hedgehog^.Gear^.State and gstHHDeath) = 0 then inc(Gear^.Timer);
     if (Gear^.Timer > 2000) and ((GameTicks mod 2000) = 1000) then
         begin
         Gear^.SoundChannel := LoopSound(sndTardis);