mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Don't halt the server over malformed roundqueue data
This commit is contained in:
parent
48665e5ee3
commit
b8c858e00b
1 changed files with 1 additions and 1 deletions
|
|
@ -3084,7 +3084,7 @@ static void Got_Mapcmd(UINT8 **cp, INT32 playernum)
|
||||||
|| size > ROUNDQUEUE_MAX) // Sanity Check B (ditto)
|
|| size > ROUNDQUEUE_MAX) // Sanity Check B (ditto)
|
||||||
{
|
{
|
||||||
CONS_Alert(CONS_WARNING, M_GetText("Illegal round-queue data received from %s\n"), player_names[playernum]);
|
CONS_Alert(CONS_WARNING, M_GetText("Illegal round-queue data received from %s\n"), player_names[playernum]);
|
||||||
if (server)
|
if (server && playernum != serverplayer)
|
||||||
SendKick(playernum, KICK_MSG_CON_FAIL);
|
SendKick(playernum, KICK_MSG_CON_FAIL);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue