More verbose awareness message
authorunc0rr
Sun, 20 Jan 2008 22:07:27 +0000
changeset 742 29609363c36c
parent 741 8bf8c0ac8d94
child 743 6b314e907f6d
More verbose awareness message
hedgewars/uAIActions.pas
--- a/hedgewars/uAIActions.pas	Sun Jan 20 21:53:22 2008 +0000
+++ b/hedgewars/uAIActions.pas	Sun Jan 20 22:07:27 2008 +0000
@@ -93,7 +93,8 @@
 else begin
    WriteLnToConsole('AI action: '+SpecActionIdToStr[Action.Action]);
    if (Action.Action = aia_WaitXL) or (Action.Action = aia_WaitXR) then
-      WriteLnToConsole('AI action Wait X = '+inttostr(Action.Param)+', current X = '+inttostr(hwRound(Me^.X)));
+      WriteLnToConsole('AI action Wait X = '+inttostr(Action.Param)+', current X = '+inttostr(hwRound(Me^.X)))
+   else if (Action.Action = aia_AwareExpl) then WriteLnToConsole('Aware X = ' + inttostr(Action.X) + ', Y = ' + inttostr(Action.Y));
    end
 end;
 {$ENDIF}