Free nodes properly in cleanupnodes

Hopefully the other changes herein have rendered
cleanupnodes obsolete, but I'm not too sure of
that.....
This commit is contained in:
fickleheart 2019-03-26 01:10:00 -05:00
parent 6cf7cc0276
commit ca2979c1af
1 changed files with 1 additions and 1 deletions

View File

@ -524,7 +524,7 @@ static void cleanupnodes(void)
// Why can't I start at zero?
for (j = 1; j < MAXNETNODES; j++)
if (!(nodeingame[j] || SV_SendingFile(j)))
nodeconnected[j] = false;
SOCK_FreeNodenum(j); // At least free this PROPERLY
}
static SINT8 getfreenode(void)