mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 04:41:23 +00:00
Fix download freezes (well, most of them)
This commit is contained in:
parent
2223283208
commit
67aba2648c
2 changed files with 13 additions and 11 deletions
|
@ -3120,6 +3120,9 @@ static boolean SV_AddWaitingPlayers(void)
|
|||
{
|
||||
newplayer = true;
|
||||
|
||||
if (netgame)
|
||||
newplayernum = node; // OMFG SAY WELCOME TO TEH NEW HACK FOR FIX FIL DOWNLOAD!!1!
|
||||
else
|
||||
// search for a free playernum
|
||||
// we can't use playeringame since it is not updated here
|
||||
for (; newplayernum < MAXPLAYERS; newplayernum++)
|
||||
|
|
|
@ -498,8 +498,7 @@ static void cleanupnodes(void)
|
|||
|
||||
// Why can't I start at zero?
|
||||
for (j = 1; j < MAXNETNODES; j++)
|
||||
//if (!(nodeingame[j] || SV_SendingFile(j)))
|
||||
if (!nodeingame[j])
|
||||
if (!(nodeingame[j] || SV_SendingFile(j)))
|
||||
nodeconnected[j] = false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue