hedgewars/uCommands.pas
changeset 4555 85150dfb5959
parent 4414 cb90b7f82cd5
child 4650 0167cbb6aee3
--- a/hedgewars/uCommands.pas	Sat Dec 18 10:46:59 2010 -0500
+++ b/hedgewars/uCommands.pas	Sat Dec 18 21:08:02 2010 +0300
@@ -56,11 +56,11 @@
 begin
 //WriteLnToConsole(CmdStr);
 if CmdStr[0]=#0 then exit;
-{$IFDEF DEBUGFILE}AddFileLog('ParseCommand "' + CmdStr + '"');{$ENDIF}
 c:= CmdStr[1];
 if c in ['/', '$'] then Delete(CmdStr, 1, 1) else c:= '/';
 s:= '';
 SplitBySpace(CmdStr, s);
+{$IFDEF DEBUGFILE}AddFileLog('[Cmd] ' + c + CmdStr + ' (' + inttostr(length(CmdStr)) + ')');{$ENDIF}
 t:= Variables;
 while t <> nil do
       begin