Accurate Racestart
This commit is contained in:
parent
8c67e163bc
commit
9458cbbaa2
2 changed files with 12 additions and 7 deletions
|
|
@ -3444,11 +3444,6 @@ SINT8 K_GetForwardMove(player_t *player)
|
||||||
{
|
{
|
||||||
SINT8 forwardmove = player->cmd.forwardmove;
|
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
|
if (K_KartKickstart(player)) // unlike the brute forward of sneakers, allow for backwards easing here
|
||||||
{
|
{
|
||||||
forwardmove += MAXPLMOVE;
|
forwardmove += MAXPLMOVE;
|
||||||
|
|
|
||||||
14
src/p_user.c
14
src/p_user.c
|
|
@ -4289,9 +4289,19 @@ void P_PlayerThink(player_t *player)
|
||||||
}
|
}
|
||||||
|
|
||||||
// SRB2kart 010217
|
// 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.
|
// Synchronizes the "real" amount of time spent in the level.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue