Set AllInactive to False on falling fire
authornemo
Sat, 21 Nov 2009 15:04:42 +0000
changeset 2634 d7531d08caa2
parent 2633 9eb131794a6e
child 2635 80d02d3e24ae
Set AllInactive to False on falling fire
hedgewars/GSHandlers.inc
--- a/hedgewars/GSHandlers.inc	Fri Nov 20 23:40:24 2009 +0000
+++ b/hedgewars/GSHandlers.inc	Sat Nov 21 15:04:42 2009 +0000
@@ -1309,6 +1309,7 @@
 
 if not TestCollisionYwithGear(Gear, 1) then
 	begin
+    AllInactive:= false;
 	if hwAbs(Gear^.dX) > _0_01 then
 		Gear^.dX:= Gear^.dX * _0_995;
 	 if (Gear^.State and gsttmpFlag) <> 0 then Gear^.dY:= Gear^.dY + _2*cGravity else