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

--HG--
branch : Issue#130
This commit is contained in:
Nimetu 2014-04-23 23:20:13 +03:00
parent c7650f041a
commit 02cb532401

View file

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