mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-31 05:40:44 +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 active_con_scale()
|
||||||
{
|
{
|
||||||
int scale = con_scale;
|
int scale = con_scale;
|
||||||
if (scale == 0)
|
if (scale <= 0)
|
||||||
{
|
{
|
||||||
scale = uiscale;
|
scale = CleanXfac - 1;
|
||||||
if (scale == 0)
|
if (scale <= 0)
|
||||||
{
|
{
|
||||||
scale = CleanXfac;
|
scale = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return scale;
|
return scale;
|
||||||
|
|
Loading…
Reference in a new issue