Fix spectators spawning as players in netreplays
This commit is contained in:
1 parent
cf6e3a45d7
commit
3a467889ae
2 files changed
+3
-2
No files matched your search
+2
-1
@@ -10889,7 +10889,8 @@ void P_SpawnPlayer(INT32 playernum)
|
||||
}
|
||||
|
||||
// spawn as spectator determination
|
||||
if (!G_GametypeHasSpectators())
|
||||
if (multiplayer && demoplayback); // Don't mess with spectator values since the demo setup handles them already.
|
||||
else if (!G_GametypeHasSpectators())
|
||||
p->spectator = false;
|
||||
else if (netgame && p->jointime <= 1 && pcount)
|
||||
{
|
||||
|
||||
+1
-1
@@ -612,7 +612,7 @@ void P_Ticker(boolean run)
|
||||
{
|
||||
|
||||
if (!multiplayer) {
|
||||
G_ReadDemoTiccmd(&players[consoleplayer].cmd, 0);
|
||||
G_ReadDemoTiccmd(&players[consoleplayer].cmd, 0);
|
||||
} else {
|
||||
for (i = 0; i < MAXPLAYERS; i++)
|
||||
if (playeringame[i])
|
||||
|
||||
Reference in new issue
Block a user