diff --git a/src/game/g_game.pas b/src/game/g_game.pas
index c46f6e49b4f1d1825e7cc4f03e91b8ae019d357c..718cfc27417387b748d4e4a187c97894b19cd819 100644 (file)
--- a/src/game/g_game.pas
+++ b/src/game/g_game.pas
while (State = 0) and (RawPos < NetEvent.packet^.dataLength) do
begin
Len := e_Raw_Read_Word(Ptr);
while (State = 0) and (RawPos < NetEvent.packet^.dataLength) do
begin
Len := e_Raw_Read_Word(Ptr);
+ if Len = 0 then break;
+
MID := e_Raw_Read_Byte(Ptr);
MID := e_Raw_Read_Byte(Ptr);
- e_WriteLog(Format('conn recv %U %U', [Len, MID]), MSG_NOTIFY);
+ if NetDump then
+ g_Net_DumpRecvBuffer(NetEvent.packet^.data, NetEvent.packet^.dataLength);
if (MID = NET_MSG_INFO) and (State = 0) then
begin
if (MID = NET_MSG_INFO) and (State = 0) then
begin
if newResPath = '' then
begin
g_Game_SetLoadingText(_lc[I_LOAD_DL_RES], 0, False);
if newResPath = '' then
begin
g_Game_SetLoadingText(_lc[I_LOAD_DL_RES], 0, False);
- newResPath := g_Res_DownloadWAD(WadName);
+ newResPath := ''; //g_Res_DownloadWAD(WadName);
if newResPath = '' then
begin
g_FatalError(_lc[I_NET_ERR_HASH]);
if newResPath = '' then
begin
g_FatalError(_lc[I_NET_ERR_HASH]);