mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 20:11:47 +00:00
Disable lap cheat prevention while on lap 0 (POSITION room)
This commit is contained in:
parent
1015d6964b
commit
2a79eed0d2
1 changed files with 1 additions and 0 deletions
|
|
@ -9991,6 +9991,7 @@ static void K_UpdatePlayerWaypoints(player_t *const player)
|
||||||
if (delta > distance_threshold &&
|
if (delta > distance_threshold &&
|
||||||
player->respawn.state == RESPAWNST_NONE && // Respawning should be a full reset.
|
player->respawn.state == RESPAWNST_NONE && // Respawning should be a full reset.
|
||||||
old_currentwaypoint != NULL && // So should touching the first waypoint ever.
|
old_currentwaypoint != NULL && // So should touching the first waypoint ever.
|
||||||
|
player->laps != 0 && // POSITION rooms may have unorthodox waypoints to guide bots.
|
||||||
!(player->pflags & PF_TRUSTWAYPOINTS)) // Special exception.
|
!(player->pflags & PF_TRUSTWAYPOINTS)) // Special exception.
|
||||||
{
|
{
|
||||||
extern consvar_t cv_debuglapcheat;
|
extern consvar_t cv_debuglapcheat;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue