Don't log preprocess nullptr return

This commit is contained in:
def 2020-06-22 10:06:55 +02:00
parent 9d9d5e26e6
commit 79cb7d14eb

View file

@ -1529,10 +1529,7 @@ void CGameContext::OnMessage(int MsgID, CUnpacker *pUnpacker, int ClientID)
void *pRawMsg = PreProcessMsg(&MsgID, pUnpacker, ClientID);
if(!pRawMsg)
{
dbg_msg("net", "failed to preprocess msg %d from client %d", MsgID, ClientID);
return;
}
CPlayer *pPlayer = m_apPlayers[ClientID];