Allow setting the colormap from mapinfo (dsda-doom)

This commit is contained in:
Ricardo Luís Vaz Silva 2023-10-28 00:01:06 -03:00 committed by Christoph Oelckers
commit e12f2ce0fe
4 changed files with 20 additions and 1 deletions

View file

@ -1821,6 +1821,12 @@ void FLevelLocals::Init()
flags |= LEVEL_HASFADETABLE;
}
}
if (strnicmp (info->CustomColorMap.GetChars(), "COLORMAP", 8) != 0)
{
flags3 |= LEVEL3_HAS_CUSTOM_COLORMAP;
}
airsupply = info->airsupply*TICRATE;
outsidefog = info->outsidefog;
WallVertLight = info->WallVertLight*2;