hedgewars/uScript.pas
changeset 9917 1ca194a8b509
parent 9914 ba26595503ab
child 9950 2759212a27de
child 9985 42cd42e44c9a
--- a/hedgewars/uScript.pas	Thu Jan 02 23:52:34 2014 -0500
+++ b/hedgewars/uScript.pas	Fri Jan 03 00:31:07 2014 -0500
@@ -1933,7 +1933,7 @@
         iterator:= GearsList;
         while iterator <> nil do
             begin
-            if not (iterator^.Kind in [gtPortal, gtAirAttack]) and (iterator^.Message and gmAllStoppable = 0) then
+            if not (iterator^.Kind in [gtPortal, gtAirAttack]) and (iterator^.Message and (gmAllStoppable or gmLJump or gmHJump) = 0) then
                 begin
                 iterator^.Active:= true;
                 if iterator^.dY.QWordValue = 0 then iterator^.dY.isNegative:= false;