fixed bad operator

This commit is contained in:
Professor Hastig 2023-07-05 07:22:21 +02:00 committed by Christoph Oelckers
parent 666a99f204
commit 4b49d9d185
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ ELightMode getRealLightmode(FLevelLocals* Level, bool for3d)
auto lightmode = Level->info->lightmode;
if (lightmode == ELightMode::NotSet)
{
if (gl_maplightmode != -1) Level->info->lightmode == (ELightMode)*gl_maplightmode;
if (gl_maplightmode != -1) Level->info->lightmode = (ELightMode)*gl_maplightmode;
else Level->info->lightmode = ELightMode::Doom;
}
if (lightmode == ELightMode::Doom && for3d)