- removed obsolete hack for Hexen main menu dimming

https://forum.zdoom.org/viewtopic.php?t=64122
This commit is contained in:
alexey.lysiuk 2019-03-31 17:35:12 +03:00
parent 4b40e266f1
commit 5310ecc2c3

View file

@ -866,12 +866,6 @@ static void M_Dim()
amount = gameinfo.dimamount; amount = gameinfo.dimamount;
} }
if (gameinfo.gametype == GAME_Hexen && gamestate == GS_DEMOSCREEN)
{ // On the Hexen title screen, the default dimming is not
// enough to make the menus readable.
amount = MIN<float>(1.f, amount*2.f);
}
screen->Dim(dimmer, amount, 0, 0, screen->GetWidth(), screen->GetHeight()); screen->Dim(dimmer, amount, 0, 0, screen->GetWidth(), screen->GetHeight());
} }