hedgewars/uAI.pas
changeset 9844 8f5b48525a03
parent 9495 2fc346fadae3
child 9950 2759212a27de
child 9998 736015b847e3
--- a/hedgewars/uAI.pas	Tue Dec 24 15:44:50 2013 -0500
+++ b/hedgewars/uAI.pas	Tue Dec 24 15:55:22 2013 -0500
@@ -251,7 +251,7 @@
     AddAction(Actions, aia_Weapon, Longword(amSkip), 100 + random(200), 0, 0);
 
 if ((CurrentHedgehog^.MultiShootAttacks = 0) or ((Ammoz[Me^.Hedgehog^.CurAmmoType].Ammo.Propz and ammoprop_NoMoveAfter) = 0))
-    and (GameFlags and gfArtillery = 0) then
+    and (GameFlags and gfArtillery = 0) and (cGravityf <> 0) then
     begin
     tmp:= random(2) + 1;
     Push(0, Actions, Me^, tmp);