Accurate Racestart

This commit is contained in:
NepDisk 2025-03-02 08:18:48 -05:00
parent 8c67e163bc
commit 9458cbbaa2
2 changed files with 12 additions and 7 deletions

View file

@ -3444,11 +3444,6 @@ SINT8 K_GetForwardMove(player_t *player)
{
SINT8 forwardmove = player->cmd.forwardmove;
if (leveltime < starttime && !(gametyperules & GTR_FREEROAM))
{
return 0;
}
if (K_KartKickstart(player)) // unlike the brute forward of sneakers, allow for backwards easing here
{
forwardmove += MAXPLMOVE;

View file

@ -4289,9 +4289,19 @@ void P_PlayerThink(player_t *player)
}
// SRB2kart 010217
if (leveltime < introtime)
if (!(gametyperules & GTR_FREEROAM))
{
player->nocontrol = 2;
if (leveltime < starttime)
{
player->nocontrol = 2;
}
}
else
{
if (leveltime < introtime)
{
player->nocontrol = 2;
}
}
// Synchronizes the "real" amount of time spent in the level.