mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-02-10 18:20:49 +00:00
Add PT_CLIENTCMD back to allowed packet types
Fixes unexpected CLIENTCMD prints
This commit is contained in:
parent
bbce134afa
commit
8a1f40b90f
1 changed files with 2 additions and 1 deletions
|
@ -1172,7 +1172,8 @@ boolean HGetPacket(void)
|
||||||
|| netbuffer->packettype == PT_REQUESTFILE
|
|| netbuffer->packettype == PT_REQUESTFILE
|
||||||
|| netbuffer->packettype == PT_ASKINFOVIAMS
|
|| netbuffer->packettype == PT_ASKINFOVIAMS
|
||||||
|| netbuffer->packettype == PT_CLIENTJOIN
|
|| netbuffer->packettype == PT_CLIENTJOIN
|
||||||
|| netbuffer->packettype == PT_TELLFILESNEEDED))
|
|| netbuffer->packettype == PT_TELLFILESNEEDED
|
||||||
|
|| netbuffer->packettype == PT_CLIENTCMD))
|
||||||
{
|
{
|
||||||
DEBFILE(va("New node sent an unexpected %s packet\n", packettypename[netbuffer->packettype]));
|
DEBFILE(va("New node sent an unexpected %s packet\n", packettypename[netbuffer->packettype]));
|
||||||
CONS_Alert(CONS_NOTICE, "New node sent an unexpected %s packet\n", packettypename[netbuffer->packettype]);
|
CONS_Alert(CONS_NOTICE, "New node sent an unexpected %s packet\n", packettypename[netbuffer->packettype]);
|
||||||
|
|
Loading…
Reference in a new issue