Changed: Save CameraDistance and FPV not only if in Windowed mode (fix)

This commit is contained in:
kervala 2010-07-30 09:35:09 +02:00
parent b5f09fc9c9
commit 47e2d3532d

View file

@ -2060,7 +2060,7 @@ void CClientConfig::release ()
CConfigFile::CVar *varPtr = NULL; CConfigFile::CVar *varPtr = NULL;
// Are we in window mode ? // Are we in window mode ?
if (ClientCfg.Windowed && !isWindowMaximized()) if (ClientCfg.Windowed /* && !isWindowMaximized() */)
{ {
// Save windows position // Save windows position
varPtr = ClientCfg.ConfigFile.getVarPtr ("PositionX"); varPtr = ClientCfg.ConfigFile.getVarPtr ("PositionX");