--- 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