# HG changeset patch # User nemo # Date 1339276545 14400 # Node ID 53f5e48b837590da08c133f23037eb6a8bff696c # Parent befce0edf5274ea7baa9aa763f735385c2952186 disable this debug too diff -r befce0edf527 -r 53f5e48b8375 hedgewars/uAI.pas --- a/hedgewars/uAI.pas Sat Jun 09 16:51:56 2012 -0400 +++ b/hedgewars/uAI.pas Sat Jun 09 17:15:45 2012 -0400 @@ -435,7 +435,7 @@ AddFileLog('Thread started'); end; -var scoreShown: boolean = false; +//var scoreShown: boolean = false; procedure ProcessBot; const cStopThinkTime = 40; @@ -457,17 +457,18 @@ if Gear^.Message <> 0 then exit; - scoreShown:= false; + //scoreShown:= false; StartThink(Gear); StartTicks:= GameTicks end else begin + (* if not scoreShown then begin if BestActions.Score > 0 then ParseCommand('/say Expected score = ' + inttostr(BestActions.Score div 1024), true); scoreShown:= true - end; + end;*) ProcessAction(BestActions, Gear) end else if ((GameTicks - StartTicks) > cMaxAIThinkTime)