mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fixup max() mess
This commit is contained in:
parent
e93a721ca1
commit
bcebe2fcc2
1 changed files with 1 additions and 1 deletions
|
|
@ -6901,7 +6901,7 @@ void G_DoPlayDemo(char *defdemoname)
|
||||||
if (titledemo)
|
if (titledemo)
|
||||||
{
|
{
|
||||||
splitscreen = M_RandomKey(6)-1;
|
splitscreen = M_RandomKey(6)-1;
|
||||||
splitscreen = min(min(3, numslots-1), max(0, splitscreen)); // Bias toward 1p and 4p views
|
splitscreen = min(min(3, numslots-1), splitscreen); // Bias toward 1p and 4p views
|
||||||
|
|
||||||
for (p = 0; p <= splitscreen; p++)
|
for (p = 0; p <= splitscreen; p++)
|
||||||
G_ResetView(p+1, slots[M_RandomKey(numslots)], false);
|
G_ResetView(p+1, slots[M_RandomKey(numslots)], false);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue