From 02cb53240144abae50497dc6b54ca1b36e7dbc57 Mon Sep 17 00:00:00 2001 From: Nimetu Date: Wed, 23 Apr 2014 23:20:13 +0300 Subject: [PATCH] Properly restore saved camera distance from config file (issue #130) --HG-- branch : Issue#130 --- code/ryzom/client/src/client_cfg.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/code/ryzom/client/src/client_cfg.cpp b/code/ryzom/client/src/client_cfg.cpp index 56decaa63..25229fc49 100644 --- a/code/ryzom/client/src/client_cfg.cpp +++ b/code/ryzom/client/src/client_cfg.cpp @@ -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)