diff -r 8163c9aaad0c -r 8ad0e23e6d63 hedgewars/uIO.pas --- a/hedgewars/uIO.pas Tue Feb 01 08:15:01 2011 +0100 +++ b/hedgewars/uIO.pas Tue Feb 01 15:30:08 2011 +0100 @@ -121,7 +121,7 @@ var loTicks: Word; begin case s[1] of - '!': begin {$IFDEF DEBUGFILE}AddFileLog('Ping? Pong!');{$ENDIF}isPonged:= true; end; + '!': begin AddFileLog('Ping? Pong!'); isPonged:= true; end; '?': SendIPC('!'); 'e': ParseCommand(copy(s, 2, Length(s) - 1), true); 'E': OutError(copy(s, 2, Length(s) - 1), true); @@ -136,7 +136,7 @@ else loTicks:= SDLNet_Read16(@s[byte(s[0]) - 1]); AddCmd(loTicks, s); - {$IFDEF DEBUGFILE}AddFileLog('[IPC in] '+s[1]+' ticks '+IntToStr(lastcmd^.loTime));{$ENDIF} + AddFileLog('[IPC in] '+s[1]+' ticks '+IntToStr(lastcmd^.loTime)); end end; @@ -217,7 +217,7 @@ SendEmptyPacketTicks:= 0; if s[0]>#251 then s[0]:= #251; SDLNet_Write16(GameTicks, @s[Succ(byte(s[0]))]); - {$IFDEF DEBUGFILE}AddFileLog('[IPC out] '+ s[1]);{$ENDIF} + AddFileLog('[IPC out] '+ s[1]); inc(s[0], 2); SDLNet_TCP_Send(IPCSock, @s, Succ(byte(s[0]))) end @@ -244,7 +244,7 @@ procedure SendIPCTimeInc; const timeinc: shortstring = '#'; begin -{$IFDEF DEBUGFILE}AddFileLog('[IPC out]