mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-31 09:20:59 +00:00
- fixed hud scaling slider value ranges
This commit is contained in:
parent
071a364d83
commit
c643aadb4b
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue