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:
parent
6cf7cc0276
commit
ca2979c1af
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue