diff --git a/src/g_game.c b/src/g_game.c index 22daab23..452c5505 100644 --- a/src/g_game.c +++ b/src/g_game.c @@ -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);