- reinstated con_scale.
Some checks failed
Continuous Integration / macOS | Debug (push) Has been cancelled
Continuous Integration / Linux Clang 6 | Debug (push) Has been cancelled
Continuous Integration / Visual Studio 2019 | Debug (push) Has been cancelled
Continuous Integration / Linux GCC 11 | MinSizeRel (push) Has been cancelled
Continuous Integration / Linux GCC 7 | RelWithDebInfo (push) Has been cancelled
Continuous Integration / macOS | Release (push) Has been cancelled
Continuous Integration / Linux Clang 12 | Release (push) Has been cancelled
Continuous Integration / Visual Studio 2019 | Release (push) Has been cancelled
Continuous Integration / Visual Studio 2022 | Release (push) Has been cancelled
Some checks failed
Continuous Integration / macOS | Debug (push) Has been cancelled
Continuous Integration / Linux Clang 6 | Debug (push) Has been cancelled
Continuous Integration / Visual Studio 2019 | Debug (push) Has been cancelled
Continuous Integration / Linux GCC 11 | MinSizeRel (push) Has been cancelled
Continuous Integration / Linux GCC 7 | RelWithDebInfo (push) Has been cancelled
Continuous Integration / macOS | Release (push) Has been cancelled
Continuous Integration / Linux Clang 12 | Release (push) Has been cancelled
Continuous Integration / Visual Studio 2019 | Release (push) Has been cancelled
Continuous Integration / Visual Studio 2022 | Release (push) Has been cancelled
This commit is contained in:
parent
3f9842dabb
commit
eb56eb380e
4 changed files with 10 additions and 4 deletions
|
|
@ -128,6 +128,11 @@ static GameAtExit *ExitCmdList;
|
|||
static char *work = NULL;
|
||||
static int worklen = 0;
|
||||
|
||||
CUSTOM_CVAR(Int, con_scale, 0, CVAR_ARCHIVE)
|
||||
{
|
||||
if (self < 0) self = 0;
|
||||
}
|
||||
|
||||
CUSTOM_CVAR(Float, con_alpha, 0.75f, CVAR_ARCHIVE)
|
||||
{
|
||||
if (self < 0.f) self = 0.f;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue