Fix the game being basically broken due to multi-admin, by porting over some missing changes from Kart

This commit is contained in:
Monster Iestyn committed 2018-12-04 18:54:36 +00:00
1 parent e353e2ef70
commit b4b82e681c
1 file changed
+1 -4
+1 -4
View File
@@ -2981,6 +2981,7 @@ void SV_ResetServer(void)
playeringame[i] = false;
playernode[i] = UINT8_MAX;
sprintf(player_names[i], "Player %d", i + 1);
adminplayers[i] = -1; // Populate the entire adminplayers array with -1.
}
mynode = 0;
@@ -3288,10 +3289,6 @@ boolean Playing(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)
G_StopDemo(); // reset engine parameter
if (metalplayback)