From e222b7c6445fbfaa1afa35ef898e80105df1e2dc Mon Sep 17 00:00:00 2001 From: yamamama Date: Fri, 12 Dec 2025 22:53:59 -0500 Subject: [PATCH] Reformat rolltic so it doesn't take an eternity --- src/y_inter.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/y_inter.c b/src/y_inter.c index 75fe31426..ebe77ce98 100644 --- a/src/y_inter.c +++ b/src/y_inter.c @@ -1159,7 +1159,8 @@ void Y_StartIntermission(void) if (data.itemrolls) { - rolltic = (15 * TICRATE); + // 5 seconds for 8P and below, 10 for 16P, 15 for 24P onwards. + rolltic = (min(15, max(5, (nump >> 3) * 5)) * TICRATE); sorttic += rolltic; timer += rolltic;