mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Don't log preprocess nullptr return
This commit is contained in:
parent
9d9d5e26e6
commit
79cb7d14eb
|
@ -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];
|
||||
|
||||
|
|
Loading…
Reference in a new issue