hooked up the per-level colormaps with the hardware renderer.

This commit is contained in:
Christoph Oelckers 2023-10-29 08:13:01 +01:00
commit 12bc9db609
7 changed files with 7 additions and 7 deletions

View file

@ -1822,11 +1822,8 @@ void FLevelLocals::Init()
}
}
if (strnicmp (info->CustomColorMap.GetChars(), "COLORMAP", 8) != 0)
{
flags3 |= LEVEL3_HAS_CUSTOM_COLORMAP;
}
globalcolormap = R_ColormapNumForName(info->CustomColorMap.GetChars());
airsupply = info->airsupply*TICRATE;
outsidefog = info->outsidefog;
WallVertLight = info->WallVertLight*2;