X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_netmaster.pas;h=3e5a30b8aac01efc6d66acd9f8db004076ff836a;hb=f1e504127ee6d8a0dc680e174d524156bde9152e;hp=4b9573d99a9ee476f8b57bec618f9a972f8e2a7d;hpb=c81b3c085bea0e6ea549c54bfd9ad5b344c86b01;p=d2df-sdl.git diff --git a/src/game/g_netmaster.pas b/src/game/g_netmaster.pas index 4b9573d..3e5a30b 100644 --- a/src/game/g_netmaster.pas +++ b/src/game/g_netmaster.pas @@ -130,8 +130,6 @@ begin NetOut.Clear(); NetOut.Write(Byte(NET_MMSG_GET)); - e_WriteLog('Wr ' + IntToStr(PByte(NetOut.Data)^) + ' !.', MSG_NOTIFY); - e_WriteLog('Wr ' + IntToStr(NetOut.CurSize) + ' !.', MSG_NOTIFY); P := enet_packet_create(NetOut.Data, NetOut.CurSize, Cardinal(ENET_PACKET_FLAG_RELIABLE)); enet_peer_send(NetMPeer, NET_MCHAN_MAIN, P); @@ -144,14 +142,11 @@ begin if not InMsg.Init(NetMEvent.packet^.data, NetMEvent.packet^.dataLength, True) then continue; MID := InMsg.ReadByte(); - e_WriteLog('Retrieved ' + IntToStr(MID) + ' !.', MSG_NOTIFY); if MID <> NET_MMSG_GET then continue; Cnt := InMsg.ReadByte(); - e_WriteLog('Retrieved ' + IntToStr(Cnt) + ' server(s).', MSG_NOTIFY); g_Console_Add(_lc[I_NET_MSG] + Format(_lc[I_NET_SLIST_RETRIEVED], [Cnt]), True); - //writeln('BOO!'); if Cnt > 0 then begin