mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-04-20 09:10:47 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue