Fix count limiter not always working right for titledemo netreplays

This commit is contained in:
fickleheart 2019-02-19 17:33:02 -06:00
parent 324108d120
commit 7a80195ed7
1 changed files with 2 additions and 1 deletions

View File

@ -6903,7 +6903,8 @@ void G_DoPlayDemo(char *defdemoname)
if (titledemo)
{
splitscreen = min(min(3, numslots-1), max(0, M_RandomKey(6)-1)); // Bias toward 1p and 4p views
splitscreen = M_RandomKey(6)-1;
splitscreen = min(min(3, numslots-1), max(0, splitscreen)); // Bias toward 1p and 4p views
for (p = 0; p <= splitscreen; p++)
G_ResetView(p+1, slots[M_RandomKey(numslots)], false);