hedgewars/uAI.pas
changeset 53 0e27949850e3
parent 51 b6e3ae05857f
child 64 9df467527ae5
--- a/hedgewars/uAI.pas	Sun Jan 15 23:56:47 2006 +0000
+++ b/hedgewars/uAI.pas	Thu Jan 19 21:12:20 2006 +0000
@@ -156,8 +156,8 @@
 
 procedure ProcessBot;
 begin
-with CurrentTeam.Hedgehogs[CurrentTeam.CurrHedgehog] do
-     if (Gear <> nil)and((Gear.State and gstHHDriven) <> 0) then
+with CurrentTeam.Hedgehogs[CurrentTeam.CurrHedgehog] do          //HACK: v--- temp hack to make AI work
+     if (Gear <> nil)and((Gear.State and gstHHDriven) <> 0) and (TurnTimeLeft < 29990) then
         begin
         if IsActionListEmpty then Think;
         ProcessAction