mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-18 23:52:02 +00:00
fixed bad operator
This commit is contained in:
parent
666a99f204
commit
4b49d9d185
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue