changeset 139 | 340ded7cc336 |
parent 136 | 89970b70b076 |
child 143 | 3dacbd83209b |
--- a/hedgewars/uAI.pas Sun Sep 03 15:39:53 2006 +0000 +++ b/hedgewars/uAI.pas Sun Sep 03 18:01:34 2006 +0000 @@ -75,7 +75,7 @@ if CanUseAmmo[a] then begin Score:= AmmoTests[a](Me, Targets.ar[i].Point, BotLevel, Time, Angle, Power, ExplX, ExplY, ExplR); - if Actions.Score + Score + Targets.ar[i].Score > BestActions.Score then + if Actions.Score + Score > BestActions.Score then begin BestActions:= Actions; inc(BestActions.Score, Score);