mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-19 20:12:01 +00:00
Director: fix positiondelay debounce
I'll be honest, this is hard to wrap my head around but it seems to be saying if the currently viewed player is not who we should be viewing, then switch to the new player even if the new player's position is fluctuating.
This commit is contained in:
parent
7a67aa2f35
commit
57cf6dab26
1 changed files with 1 additions and 1 deletions
|
|
@ -291,7 +291,7 @@ void K_UpdateDirector(void)
|
|||
}
|
||||
|
||||
// even if we're not certain, if we're certain we're watching the WRONG player, try to switch
|
||||
if (players[*displayplayerp].position != targetposition+1 && !players[target].positiondelay)
|
||||
if (players[*displayplayerp].position != targetposition+1 && !players[*displayplayerp].positiondelay)
|
||||
{
|
||||
K_DirectorSwitch(target, false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue