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 committed 2019-03-26 01:10:00 -05:00
1 parent 6cf7cc0276
commit ca2979c1af
1 file changed
+1 -1
+1 -1
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)