mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 09:11:48 +00:00
Use displayplayer instead of consoleplayer in G_GetInputPlayer
This commit is contained in:
parent
46f7fa406f
commit
3e088e4e78
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
static player_t *G_GetInputPlayer(UINT8 which)
|
||||||
{
|
{
|
||||||
if (which == 0)
|
if (which == 0)
|
||||||
return &players[consoleplayer];
|
return &players[displayplayer];
|
||||||
else if (which == 1)
|
else if (which == 1)
|
||||||
{
|
{
|
||||||
if (splitscreen)
|
if (splitscreen)
|
||||||
|
|
Loading…
Reference in a new issue