diff -r a28be05b20bc -r cac1d5601d7c hedgewars/uAI.pas --- 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;