mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
4p split views test
This commit is contained in:
parent
8473194e8a
commit
8837fac760
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…
Add table
Reference in a new issue