Fix P3 getting the wrong split flags in 3p splitscreen

This commit is contained in:
fickleheart 2019-02-01 20:20:14 -06:00
parent ba07224a8f
commit 28b9c5fc7d

View file

@ -6333,9 +6333,9 @@ INT32 K_calcSplitFlags(INT32 snapflags)
} }
else if (splitscreen > 1) else if (splitscreen > 1)
{ {
if (stplyr == &players[thirddisplayplayer] || stplyr == &players[fourthdisplayplayer]) if (stplyr == &players[thirddisplayplayer] || (splitscreen == 3 && stplyr == &players[fourthdisplayplayer]))
splitflags |= V_SPLITSCREEN; splitflags |= V_SPLITSCREEN;
if (stplyr == &players[secondarydisplayplayer] || stplyr == &players[fourthdisplayplayer]) if (stplyr == &players[secondarydisplayplayer] || (splitscreen == 3 && stplyr == &players[fourthdisplayplayer]))
splitflags |= V_HORZSCREEN; splitflags |= V_HORZSCREEN;
} }
} }