changeset 15546 | fbcee515b946 |
parent 15466 | 6031c0cfec89 |
child 15622 | dc62f1c13bb2 |
--- a/hedgewars/uAI.pas Mon Dec 23 23:47:06 2019 +0300 +++ b/hedgewars/uAI.pas Tue Dec 24 12:46:23 2019 -0500 @@ -123,7 +123,7 @@ then begin {$HINTS OFF} - Score:= AmmoTests[a].proc(Me, Targets.ar[i], BotLevel, ap); + Score:= AmmoTests[a].proc(Me, Targets.ar[i], BotLevel, ap, AmmoTests[a].flags); {$HINTS ON} if (Score > BadTurn) and (Actions.Score + Score > BestActions.Score) then if (BestActions.Score < 0) or (Actions.Score + Score > BestActions.Score + Byte(BotLevel - 1) * 2048) then