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:
James R 2023-02-26 21:20:16 -08:00
parent 7a67aa2f35
commit 57cf6dab26

View file

@ -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);
}