mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
Fix FOV being applied twice from redundant fov->settings application.
This commit is contained in:
parent
341dfa1868
commit
6edf4eb89e
|
|
@ -1408,7 +1408,6 @@ void CMinecraftApp::ActionGameSettings(int iPad,eGameSetting eVal)
|
||||||
{
|
{
|
||||||
float fovDeg = 70.0f + (float)GameSettingsA[iPad]->ucFov * 40.0f / 100.0f;
|
float fovDeg = 70.0f + (float)GameSettingsA[iPad]->ucFov * 40.0f / 100.0f;
|
||||||
pMinecraft->gameRenderer->SetFovVal(fovDeg);
|
pMinecraft->gameRenderer->SetFovVal(fovDeg);
|
||||||
pMinecraft->options->set(Options::Option::FOV, (float)GameSettingsA[iPad]->ucFov / 100.0f);
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case eGameSetting_Difficulty:
|
case eGameSetting_Difficulty:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue