Skip to content

Commit 17237de

Browse files
committed
Fixed FOV setting not being applied on startup.
1 parent 3dbcc0b commit 17237de

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

MTA10/core/CCore.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -609,6 +609,7 @@ void CCore::ApplyGameSettings ( void )
609609
CVARS_GET ( "classic_controls", bval ); pController->SetClassicControls ( bval );
610610
CVARS_GET ( "volumetric_shadows", bval ); m_pGame->GetSettings ()->SetVolumetricShadowsEnabled ( bval );
611611
CVARS_GET ( "aspect_ratio", iVal ); m_pGame->GetSettings ()->SetAspectRatio ( (eAspectRatio)iVal, CVARS_GET_VALUE < bool > ( "hud_match_aspect_ratio" ) );
612+
CVARS_GET ( "fov", iVal ); m_pGame->GetSettings ()->SetFieldOfView ( iVal );
612613
CVARS_GET ( "grass", bval ); m_pGame->GetSettings ()->SetGrassEnabled ( bval );
613614
CVARS_GET ( "heat_haze", bval ); m_pMultiplayer->SetHeatHazeEnabled ( bval );
614615
CVARS_GET ( "fast_clothes_loading", iVal ); m_pMultiplayer->SetFastClothesLoading ( (CMultiplayer::EFastClothesLoading)iVal );

0 commit comments

Comments
 (0)