mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-30 07:35:59 +00:00
Properly restore saved camera distance from config file (issue #130)
--HG-- branch : Issue#130
This commit is contained in:
parent
c7650f041a
commit
02cb532401
1 changed files with 1 additions and 4 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue