hedgewars/uAIAmmoTests.pas
changeset 9844 8f5b48525a03
parent 9790 0b4b9fda5bd4
child 9950 2759212a27de
child 9998 736015b847e3
--- a/hedgewars/uAIAmmoTests.pas	Tue Dec 24 15:44:50 2013 -0500
+++ b/hedgewars/uAIAmmoTests.pas	Tue Dec 24 15:55:22 2013 -0500
@@ -1047,7 +1047,7 @@
 begin
 ap.ExplR:= 0;
 ap.Time:= 0;
-if (Level > 3) then
+if (Level > 3) or (cGravityf = 0) then
     exit(BadTurn);
 
 ap.Angle:= 0;