mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-28 13:21:10 +00:00
not on player join
This commit is contained in:
parent
a031998f5f
commit
6c8938af6b
1 changed files with 3 additions and 3 deletions
|
@ -10663,7 +10663,7 @@ void P_SpawnPlayer(INT32 playernum)
|
||||||
else if (netgame && p->jointime <= 1 && pcount)
|
else if (netgame && p->jointime <= 1 && pcount)
|
||||||
{
|
{
|
||||||
p->spectator = true;
|
p->spectator = true;
|
||||||
p->spectatorreentry = (cv_spectatorreentry.value * TICRATE);
|
p->spectatorreentry = 0; //(cv_spectatorreentry.value * TICRATE);
|
||||||
}
|
}
|
||||||
else if (multiplayer && !netgame)
|
else if (multiplayer && !netgame)
|
||||||
{
|
{
|
||||||
|
@ -10677,7 +10677,7 @@ void P_SpawnPlayer(INT32 playernum)
|
||||||
// Spawn as a spectator,
|
// Spawn as a spectator,
|
||||||
// yes even in splitscreen mode
|
// yes even in splitscreen mode
|
||||||
p->spectator = true;
|
p->spectator = true;
|
||||||
p->spectatorreentry = (cv_spectatorreentry.value * TICRATE);
|
p->spectatorreentry = 0; //(cv_spectatorreentry.value * TICRATE);
|
||||||
|
|
||||||
if (playernum&1) p->skincolor = skincolor_redteam;
|
if (playernum&1) p->skincolor = skincolor_redteam;
|
||||||
else p->skincolor = skincolor_blueteam;
|
else p->skincolor = skincolor_blueteam;
|
||||||
|
@ -10700,7 +10700,7 @@ void P_SpawnPlayer(INT32 playernum)
|
||||||
if (!p->spectator && !p->ctfteam)
|
if (!p->spectator && !p->ctfteam)
|
||||||
{
|
{
|
||||||
p->spectator = true;
|
p->spectator = true;
|
||||||
p->spectatorreentry = (cv_spectatorreentry.value * TICRATE);
|
p->spectatorreentry = 0; //(cv_spectatorreentry.value * TICRATE);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fix team colors.
|
// Fix team colors.
|
||||||
|
|
Loading…
Reference in a new issue