leveltime be tic_t

:chaosleep:
This commit is contained in:
Alug committed 2026-01-08 00:43:43 +01:00
1 parent d938e38ad3
commit bdc326b14e
1 file changed
+1 -1
+1 -1
View File
@@ -484,7 +484,7 @@ UINT8 colortranslations[MAXTRANSLATIONS][16] = {
//
UINT8 K_RainbowColor(void)
{
const INT32 time = cv_reducevfx.value ? (leveltime >> 3) : leveltime;
const tic_t time = cv_reducevfx.value ? (leveltime >> 3) : leveltime;
return (UINT8)(1 + (time % (MAXSKINCOLORS-1)));
}