hedgewars/GSHandlers.inc
changeset 4443 d393b9ccd328
parent 4405 ed78465973f6
child 4473 b6487d2c15ad
--- a/hedgewars/GSHandlers.inc	Wed Dec 01 22:06:23 2010 +0300
+++ b/hedgewars/GSHandlers.inc	Thu Dec 02 18:45:16 2010 -0500
@@ -1885,13 +1885,12 @@
 
         if ((GameTicks mod 100) = 0) then
             begin
-            vgt:= AddVisualGear(hwRound(Gear^.X), hwRound(Gear^.Y), vgtFire);
+            vgt:= AddVisualGear(hwRound(Gear^.X), hwRound(Gear^.Y), vgtFire, gstTmpFlag);
             if vgt <> nil then
                 begin
                 vgt^.dx:= 0;
                 vgt^.dy:= 0;
                 vgt^.FrameTicks:= 1800 div (Gear^.Tag mod 3 + 2);
-                vgt^.State:= gstTmpFlag;
                 end;
             end;