merge
authorunc0rr
Sun, 07 Nov 2010 18:39:34 +0300
changeset 4167 207cd9358876
parent 4165 dec8aafc6414 (diff)
parent 4166 1b68bdad0336 (current diff)
child 4168 49ad7bea4a33
child 4169 45cb7a2cb948
merge
--- a/hedgewars/uGears.pas	Sun Nov 07 16:30:45 2010 +0100
+++ b/hedgewars/uGears.pas	Sun Nov 07 18:39:34 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;