When bailing out of packet decoding make sure to call NETend()
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3668 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
208a399d73
commit
70d7e095f0
|
@ -803,6 +803,7 @@ BOOL NETprocessSystemMessage(NETMSG * pMsg)
|
|||
if (dpid >= MAX_CONNECTED_PLAYERS)
|
||||
{
|
||||
debug(LOG_NET, "NETprocessSystemMessage: MSG_PLAYER_INFO: Player ID (%u) out of range (max %u)", (unsigned int)dpid, (unsigned int)MAX_CONNECTED_PLAYERS);
|
||||
NETend();
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue