Reformat rolltic so it doesn't take an eternity

This commit is contained in:
yamamama 2025-12-12 22:53:59 -05:00
parent d9d54d1e5a
commit e222b7c644

View file

@ -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;