mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Faulting via pit will now respawn about 1 second sooner
This commit is contained in:
parent
f43d108226
commit
01e85517e6
2 changed files with 2 additions and 2 deletions
|
|
@ -9123,7 +9123,7 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
|
|||
{
|
||||
if (rainbowstartavailable && ((leveltime <= starttime) || (leveltime - starttime < 10*TICRATE)))
|
||||
{
|
||||
player->nocontrol = 50;
|
||||
player->nocontrol = TICRATE/2;
|
||||
player->mo->renderflags |= RF_DONTDRAW;
|
||||
player->mo->flags |= MF_NOCLIPTHING;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -104,7 +104,7 @@ static void K_RespawnAtWaypoint(player_t *player, waypoint_t *waypoint)
|
|||
|
||||
void K_DoFault(player_t *player)
|
||||
{
|
||||
player->nocontrol = (starttime - leveltime) + 50;
|
||||
player->nocontrol = (starttime - leveltime) + TICRATE/2;
|
||||
if (!(player->pflags & PF_FAULT))
|
||||
{
|
||||
S_StartSound(player->mo, sfx_s3k83);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue