changeset 9005 | 15a6ed0bd074 |
parent 8998 | d38fb4158342 |
child 9080 | 9b42757d7e71 |
--- a/hedgewars/uAIAmmoTests.pas Fri May 17 00:06:01 2013 +0400 +++ b/hedgewars/uAIAmmoTests.pas Fri May 17 00:07:37 2013 +0400 @@ -607,8 +607,8 @@ if (EY < cWaterLine) and (dY >= 0) then begin Score:= RateExplosion(Me, EX, EY, 91); - if (Score = 0) and (Targ.Kind = gtHedgehog) and (Targ.Score > 0) then - if (dY > 0.15) then + if (Score = 0) then + if (dY > 0.15) and (Targ.Kind = gtHedgehog) and (Targ.Score > 0) then Score:= - abs(Targ.Point.Y - EY) div 32 else Score:= BadTurn