hedgewars/uGears.pas
changeset 4165 dec8aafc6414
parent 4159 64e677349124
child 4168 49ad7bea4a33
--- a/hedgewars/uGears.pas	Sun Nov 07 17:37:49 2010 +0300
+++ b/hedgewars/uGears.pas	Sun Nov 07 18:35:40 2010 +0300
@@ -1415,7 +1415,10 @@
     begin
     t^.ar[t^.Count]:= CurrentHedgehog^.Gear;
     inc(t^.Count)
-    end;
+    end else
+    with CurrentHedgehog^.Gear^ do
+        State:= State or gstMoving;
+
 i:= t^.Count;
 
 if (Ammo^.Kind = gtFlame) and (i > 0) then Ammo^.Health:= 0;