- fixed hud scaling slider value ranges

This commit is contained in:
Christoph Oelckers 2020-02-14 00:56:23 +01:00
parent 071a364d83
commit c643aadb4b
2 changed files with 3 additions and 3 deletions

View file

@ -179,7 +179,7 @@ CUSTOM_CVARD(Int, hud_size, 9, CVAR_ARCHIVE | CVAR_NOINITCALL, "Defines the HUD
CUSTOM_CVARD(Int, hud_scale, 100, CVAR_ARCHIVE | CVAR_NOINITCALL, "changes the hud scale")
{
if (self < 36) self = 36;
if (self < 35) self = 35;
else if (self > 100) self = 100;
else gi->set_hud_scale(hud_scale);
}