Tally skipping: make sure player is actually local splitscreen before doing button check

This commit is contained in:
James R 2024-03-12 06:06:25 -07:00
parent 6b413e530f
commit 2af5f32a72

View file

@ -1394,7 +1394,8 @@ void K_InitPlayerTally(player_t *player)
void K_TickPlayerTally(player_t *player)
{
boolean fastForwardInput = G_PlayerInputDown(G_LocalSplitscreenPartyPosition(player - players), gc_a, 0);
boolean fastForwardInput = !demo.playback && P_IsMachineLocalPlayer(player) &&
G_PlayerInputDown(G_LocalSplitscreenPartyPosition(player - players), gc_a, 0);
boolean allowFastForward = player->tally.state > TALLY_ST_GOTTHRU_SLIDEIN
&& player->tally.releasedFastForward
// - Not allowed online so we don't have to do any