More spectator tweaks
This commit is contained in:
parent
d3d91726f5
commit
7768e2c7f9
|
@ -11249,8 +11249,12 @@ void P_SpawnPlayer(INT32 playernum)
|
|||
else
|
||||
{
|
||||
p->outofcoop = false;
|
||||
p->spectator = false;
|
||||
if (netgame && p->jointime < 1)
|
||||
p->spectator = true;
|
||||
{
|
||||
// Averted by GTR_NOSPECTATORSPAWN.
|
||||
p->spectator = (gametyperules & GTR_NOSPECTATORSPAWN) ? false : true;
|
||||
}
|
||||
else if (multiplayer && !netgame)
|
||||
{
|
||||
// If you're in a team game and you don't have a team assigned yet...
|
||||
|
|
|
@ -2205,8 +2205,9 @@ static void ST_drawTextHUD(void)
|
|||
textHUDdraw(M_GetText("\x82""Wait for the stage to end..."))
|
||||
else if (G_PlatformGametype())
|
||||
{
|
||||
if (gametype == GT_COOP
|
||||
&& stplyr->lives <= 0
|
||||
if (gametype == GT_COOP)
|
||||
{
|
||||
if (stplyr->lives <= 0
|
||||
&& cv_cooplives.value == 2
|
||||
&& (netgame || multiplayer))
|
||||
{
|
||||
|
@ -2231,6 +2232,7 @@ static void ST_drawTextHUD(void)
|
|||
else
|
||||
textHUDdraw(M_GetText("Wait to respawn..."))
|
||||
}
|
||||
}
|
||||
else if (G_GametypeHasSpectators())
|
||||
textHUDdraw(M_GetText("\x82""FIRE:""\x80 Enter game"))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue