hedgewars/uAI.pas
branchqmlfrontend
changeset 10515 7705784902e1
parent 10510 9329dab04490
child 11046 47a8c19ecb60
--- a/hedgewars/uAI.pas	Sun Nov 09 23:02:21 2014 +0300
+++ b/hedgewars/uAI.pas	Tue Nov 18 23:39:30 2014 +0300
@@ -133,7 +133,7 @@
             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
                     begin
-                    if useThisActions then 
+                    if useThisActions then
                         begin
                         BestActions.Count:= Actions.Count
                         end
@@ -161,9 +161,9 @@
                             AddAction(BestActions, aia_Weapon, Longword(amExtraDamage), 80, 0, 0);
                             AddAction(BestActions, aia_attack, aim_push, 10, 0, 0);
                             AddAction(BestActions, aia_attack, aim_release, 10, 0, 0);
-                            end; 
+                            end;
                         end;
-    
+
                     AddAction(BestActions, aia_Weapon, Longword(a), 300 + random(400), 0, 0);
 
                     if (ap.Angle > 0) then
@@ -463,7 +463,7 @@
             BestActions.Count:= 0;
 
             FillBonuses(false);
-            
+
             if not bonuses.activity then
                 AddAction(BestActions, aia_Skip, 0, 250, 0, 0);
             end;