mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-01-19 07:51:03 +00:00
Clamp scr_conspeed
to 0.1f
and use Cvar_Set()
.
Pointed out by @maraakate.
This commit is contained in:
parent
bfa25a13d9
commit
80c637b5d6
1 changed files with 2 additions and 2 deletions
|
@ -501,9 +501,9 @@ SCR_RunConsole(void)
|
|||
{
|
||||
/* src_conspeed must be a positiv integer,
|
||||
otherwise things go wrong. Clamp it. */
|
||||
if (scr_conspeed->value < 1)
|
||||
if (scr_conspeed->value < 0.1f)
|
||||
{
|
||||
scr_conspeed->value = 1;
|
||||
Cvar_Set("scr_conspeed", "0.1");
|
||||
}
|
||||
|
||||
/* decide on the height of the console */
|
||||
|
|
Loading…
Reference in a new issue