Use displayplayer instead of consoleplayer in G_GetInputPlayer

This commit is contained in:
Jaime Ita Passos 2022-11-15 23:26:21 -03:00
parent 46f7fa406f
commit 3e088e4e78

View file

@ -1772,7 +1772,7 @@ ticcmd_t *G_MoveTiccmd(ticcmd_t* dest, const ticcmd_t* src, const size_t n)
static player_t *G_GetInputPlayer(UINT8 which)
{
if (which == 0)
return &players[consoleplayer];
return &players[displayplayer];
else if (which == 1)
{
if (splitscreen)