# HG changeset patch # User nemo # Date 1267731327 0 # Node ID 9bc0cf3c7ac1270518c04671306cc4f5fb96bb78 # Parent 97f75507e1cb37cff63af74407be81ffa56bc9eb Activate hedgehogs if explosives are falling. They could be sitting on top. diff -r 97f75507e1cb -r 9bc0cf3c7ac1 hedgewars/GSHandlers.inc --- a/hedgewars/GSHandlers.inc Thu Mar 04 16:20:07 2010 +0000 +++ b/hedgewars/GSHandlers.inc Thu Mar 04 19:35:27 2010 +0000 @@ -1299,6 +1299,7 @@ AllInactive:= false; Gear^.dY:= Gear^.dY + cGravity; Gear^.Y:= Gear^.Y + Gear^.dY; + if (not Gear^.dY.isNegative) and (Gear^.Kind = gtExplosives) then SetAllHHToActive; if (Gear^.dY.isNegative) and TestCollisionYwithGear(Gear, -1) then Gear^.dY:= _0 else if (not Gear^.dY.isNegative) and TestCollisionYwithGear(Gear, 1) then begin