mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-27 22:42:57 +00:00
- removed obsolete hack for Hexen main menu dimming
https://forum.zdoom.org/viewtopic.php?t=64122
This commit is contained in:
parent
4b40e266f1
commit
5310ecc2c3
1 changed files with 0 additions and 6 deletions
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue