- Properly fix default mouse x sensitivity.
This commit is contained in:
parent
25c984ff6e
commit
034202e6f6
4 changed files with 12 additions and 3 deletions
|
|
@ -598,6 +598,15 @@ void FGameConfigFile::DoGlobalSetup ()
|
|||
// ooooh boy did i open a can of worms with this one.
|
||||
i_pauseinbackground = !(i_soundinbackground);
|
||||
}
|
||||
if (last < 224)
|
||||
{
|
||||
if (const auto var = FindCVar("m_sensitivity_x", NULL))
|
||||
{
|
||||
UCVarValue v = var->GetGenericRep(CVAR_Float);
|
||||
v.Float *= 0.5f;
|
||||
var->SetGenericRep(v, CVAR_Float);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue