mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-01 07:11:02 +00:00
4p split views test
This commit is contained in:
parent
e13e6c5c9b
commit
0c11562209
1 changed files with 13 additions and 0 deletions
13
src/g_game.c
13
src/g_game.c
|
@ -6133,6 +6133,19 @@ void G_DoPlayDemo(char *defdemoname)
|
|||
|
||||
if (!playeringame[displayplayer] || players[displayplayer].spectator)
|
||||
displayplayer = consoleplayer = p;
|
||||
else if (!spectator && splitscreen < 3) {
|
||||
if (splitscreen == 0) {
|
||||
splitscreen = 1;
|
||||
secondarydisplayplayer = p;
|
||||
} else if (splitscreen == 1) {
|
||||
splitscreen = 2;
|
||||
thirddisplayplayer = p;
|
||||
} else {
|
||||
splitscreen = 3;
|
||||
fourthdisplayplayer = p;
|
||||
R_ExecuteSetViewSize();
|
||||
}
|
||||
}
|
||||
playeringame[p] = true;
|
||||
players[p].spectator = spectator;
|
||||
|
||||
|
|
Loading…
Reference in a new issue