mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 15:02:01 +00:00
Change con_scale behavior for value 0
- Do not use uiscale for con_scale default. A 40 column console when everything is defaults is maddening. The default is now CleanXfac minus 1.
This commit is contained in:
parent
3926ca13b0
commit
4dce07762b
1 changed files with 4 additions and 4 deletions
|
@ -154,12 +154,12 @@ CUSTOM_CVAR(Int, con_scale, 0, CVAR_ARCHIVE)
|
|||
int active_con_scale()
|
||||
{
|
||||
int scale = con_scale;
|
||||
if (scale == 0)
|
||||
if (scale <= 0)
|
||||
{
|
||||
scale = uiscale;
|
||||
if (scale == 0)
|
||||
scale = CleanXfac - 1;
|
||||
if (scale <= 0)
|
||||
{
|
||||
scale = CleanXfac;
|
||||
scale = 1;
|
||||
}
|
||||
}
|
||||
return scale;
|
||||
|
|
Loading…
Reference in a new issue