Whoops forgot this bit too

This commit is contained in:
Monster Iestyn 2017-05-09 20:02:42 +01:00
parent 8582406dd2
commit 96c63bf95b
1 changed files with 1 additions and 1 deletions

View File

@ -716,7 +716,7 @@ void Net_CloseConnection(INT32 node)
if (!node) if (!node)
return; return;
if (node >= MAXNETNODES) // prevent invalid nodes from crashing the game if (node < 0 || node >= MAXNETNODES) // prevent invalid nodes from crashing the game
{ {
CONS_Alert(CONS_WARNING, M_GetText("Net_CloseConnection: invalid node %d detected!\n"), node); CONS_Alert(CONS_WARNING, M_GetText("Net_CloseConnection: invalid node %d detected!\n"), node);
return; return;