branch | webgl |
changeset 9950 | 2759212a27de |
parent 9521 | 8054d9d775fd |
parent 9844 | 8f5b48525a03 |
child 10015 | 4feced261c68 |
--- a/hedgewars/uAI.pas Fri Oct 11 17:43:13 2013 +0200 +++ b/hedgewars/uAI.pas Sat Jan 04 23:55:54 2014 +0400 @@ -256,7 +256,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);