# HG changeset patch
# User nemo
# Date 1245599208 0
# Node ID 26d3b13ee5534dcae75e7e242fc52cf0449f2444
# Parent  6c5a339f8e283025af8cf107839758fdc5ce33c6
thanks unc0rr (corrected flag - also check on turn time)

diff -r 6c5a339f8e28 -r 26d3b13ee553 hedgewars/GSHandlers.inc
--- a/hedgewars/GSHandlers.inc	Sun Jun 21 15:41:07 2009 +0000
+++ b/hedgewars/GSHandlers.inc	Sun Jun 21 15:46:48 2009 +0000
@@ -2217,7 +2217,7 @@
 //AddCaption(inttostr(round(Gear^.Health/20))+'% : '+inttostr(round(Gear^.Timer/1000)), $FFFFFF, capgrpMessage);
 
 HHGear^.Message:= HHGear^.Message and not (gm_Up or gm_Precise or gm_Left or gm_Right);
-HHGear^.State:= HHGear^.State and gstMoving and (not gstNotKickable); 
+HHGear^.State:= HHGear^.State or gstMoving; 
 
 Gear^.X:= HHGear^.X;
 Gear^.Y:= HHGear^.Y;
@@ -2226,6 +2226,7 @@
 if  (Gear^.Health = 0)
     or (HHGear^.Damage <> 0)
 	or CheckGearDrowning(HHGear)
+    or (TurnTimeLeft = 0) 
 	or ((Gear^.Message and gm_Attack) <> 0) then
 	begin
 	with HHGear^ do