mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-11-10 14:41:42 +00:00
Fix division by zero, reported by Simon McVittie
This commit is contained in:
parent
dc92a6cd79
commit
31d99e2c4e
1 changed files with 1 additions and 0 deletions
|
@ -3127,6 +3127,7 @@ void CL_Init( void ) {
|
|||
// offset for the power function (for style 1, ignored otherwise)
|
||||
// this should be set to the max rate value
|
||||
cl_mouseAccelOffset = Cvar_Get( "cl_mouseAccelOffset", "5", CVAR_ARCHIVE );
|
||||
Cvar_CheckRange(cl_mouseAccelOffset, 0.001, 50000.0, qfalse);
|
||||
|
||||
cl_showMouseRate = Cvar_Get ("cl_showmouserate", "0", 0);
|
||||
|
||||
|
|
Loading…
Reference in a new issue