Fix the game being basically broken due to multi-admin, by porting over some missing changes from Kart
This commit is contained in:
parent
e353e2ef70
commit
b4b82e681c
|
@ -2981,6 +2981,7 @@ void SV_ResetServer(void)
|
||||||
playeringame[i] = false;
|
playeringame[i] = false;
|
||||||
playernode[i] = UINT8_MAX;
|
playernode[i] = UINT8_MAX;
|
||||||
sprintf(player_names[i], "Player %d", i + 1);
|
sprintf(player_names[i], "Player %d", i + 1);
|
||||||
|
adminplayers[i] = -1; // Populate the entire adminplayers array with -1.
|
||||||
}
|
}
|
||||||
|
|
||||||
mynode = 0;
|
mynode = 0;
|
||||||
|
@ -3288,10 +3289,6 @@ boolean Playing(void)
|
||||||
|
|
||||||
boolean SV_SpawnServer(void)
|
boolean SV_SpawnServer(void)
|
||||||
{
|
{
|
||||||
INT32 i;
|
|
||||||
for (i = 0; i < MAXPLAYERS; i++)
|
|
||||||
adminplayers[i] = -1; // Populate the entire adminplayers array with -1.
|
|
||||||
|
|
||||||
if (demoplayback)
|
if (demoplayback)
|
||||||
G_StopDemo(); // reset engine parameter
|
G_StopDemo(); // reset engine parameter
|
||||||
if (metalplayback)
|
if (metalplayback)
|
||||||
|
|
Loading…
Reference in a new issue