Properly restore saved camera distance from config file (issue #130)

This commit is contained in:
Nimetu 2014-04-23 23:20:13 +03:00
parent 9eee69f72d
commit f593aa4eaf

View file

@ -1726,10 +1726,7 @@ void CClientConfig::setValues()
}
// Initialize the camera distance (after camera dist max)
if (!ClientCfg.FPV)
{
View.cameraDistance(ClientCfg.CameraDistance);
}
View.setCameraDistanceMaxForPlayer();
// draw in client light?
if(ClientCfg.Light)