author | Wuzzy <Wuzzy2@mail.ru> |
Thu, 08 Oct 2020 14:43:00 +0200 | |
changeset 15765 | b74ce48abdea |
parent 15764 | 0b5aea8e5eab |
child 15766 | 97a9ac5d4c83 |
--- a/hedgewars/uAIAmmoTests.pas Thu Oct 08 12:33:14 2020 +0200 +++ b/hedgewars/uAIAmmoTests.pas Thu Oct 08 14:43:00 2020 +0200 @@ -1942,7 +1942,9 @@ if (Level = 1) and (Flags and amtest_NoTrackFall = 0) then value:= RateExplosion(Me, EX, EY, 61, afTrackFall) else - value:= RateExplosion(Me, EX, EY, 61); + value:= RateExplosion(Me, EX, EY, 61) + else + value:= BadTurn; if (value = 0) and (Targ.Kind = gtHedgehog) and (Targ.Score > 0) then value := BadTurn;