Skip to content
Snippets Groups Projects
Commit 96c63bf9 authored by Monster Iestyn's avatar Monster Iestyn
Browse files

Whoops forgot this bit too

parent 8582406d
No related branches found
No related tags found
No related merge requests found
...@@ -716,7 +716,7 @@ void Net_CloseConnection(INT32 node) ...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment