hedgewars/GSHandlers.inc
changeset 2963 0f0789204802
parent 2955 fb361d137524
child 2965 2a8c76b23e2c
--- a/hedgewars/GSHandlers.inc	Sat Mar 06 18:44:42 2010 +0000
+++ b/hedgewars/GSHandlers.inc	Sat Mar 06 21:32:04 2010 +0000
@@ -1275,7 +1275,11 @@
     CalcRotationDirAngle(Gear);
     CheckGearDrowning(Gear)
     end
-else AddGearCI(Gear);
+else 
+    begin
+    Gear^.State:= Gear^.State or gsttmpFlag;
+    AddGearCI(Gear)
+    end;
 (*
 Attempt to make a barrel knock itself over an edge.  Would need more checks to avoid issues like burn damage
     begin