hedgewars/uAI.pas
branchhedgeroid
changeset 6025 cac1d5601d7c
parent 5611 099868c5bba5
child 6027 302408e45052
--- a/hedgewars/uAI.pas	Sun Sep 25 18:24:01 2011 +0200
+++ b/hedgewars/uAI.pas	Mon Sep 26 00:03:14 2011 +0200
@@ -31,7 +31,7 @@
 implementation
 uses uConsts, SDLh, uAIMisc, uAIAmmoTests, uAIActions,
      uAmmos, SysUtils{$IFDEF UNIX}{$IFNDEF ANDROID}, cthreads{$ENDIF}{$ENDIF}, uTypes,
-     uVariables, uCommands, uUtils, uDebug, uConsole;
+     uVariables, uCommands, uUtils, uDebug;
 
 var BestActions: TActions;
     CanUseAmmo: array [TAmmoType] of boolean;
@@ -353,6 +353,7 @@
 procedure initModule;
 begin
     hasThread:= 0;
+    ThinkThread:= ThinkThread;
 end;
 
 procedure freeModule;