mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 20:11:47 +00:00
Resolve #147 by making players not have flashingtics if they spawn before the end of the intro.
This commit is contained in:
parent
71cceaaf3c
commit
45c0e48e16
2 changed files with 3 additions and 3 deletions
|
|
@ -10465,7 +10465,8 @@ void P_SpawnPlayer(INT32 playernum)
|
||||||
p->skincolor = skincolor_blueteam;
|
p->skincolor = skincolor_blueteam;
|
||||||
}
|
}
|
||||||
|
|
||||||
p->powers[pw_flashing] = K_GetKartFlashing(p); // Babysitting deterrent
|
if (leveltime >= introtime)
|
||||||
|
p->powers[pw_flashing] = K_GetKartFlashing(p); // Babysitting deterrent
|
||||||
|
|
||||||
mobj = P_SpawnMobj(0, 0, 0, MT_PLAYER);
|
mobj = P_SpawnMobj(0, 0, 0, MT_PLAYER);
|
||||||
(mobj->player = p)->mo = mobj;
|
(mobj->player = p)->mo = mobj;
|
||||||
|
|
|
||||||
|
|
@ -4592,8 +4592,7 @@ void P_PlayerThink(player_t *player)
|
||||||
|| player->kartstuff[k_growshrinktimer] > 0 // Grow doesn't flash either.
|
|| player->kartstuff[k_growshrinktimer] > 0 // Grow doesn't flash either.
|
||||||
|| (player->respawn.state != RESPAWNST_NONE) // Respawn timer (for drop dash effect)
|
|| (player->respawn.state != RESPAWNST_NONE) // Respawn timer (for drop dash effect)
|
||||||
|| (player->pflags & PF_GAMETYPEOVER) // NO CONTEST explosion
|
|| (player->pflags & PF_GAMETYPEOVER) // NO CONTEST explosion
|
||||||
|| ((gametyperules & GTR_BUMPERS) && player->bumpers <= 0 && player->karmadelay)
|
|| ((gametyperules & GTR_BUMPERS) && player->bumpers <= 0 && player->karmadelay)))
|
||||||
|| leveltime < starttime)) // Level intro
|
|
||||||
{
|
{
|
||||||
if (player->powers[pw_flashing] > 0 && player->powers[pw_flashing] < K_GetKartFlashing(player)
|
if (player->powers[pw_flashing] > 0 && player->powers[pw_flashing] < K_GetKartFlashing(player)
|
||||||
&& (leveltime & 1))
|
&& (leveltime & 1))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue