From a66abd4990c6c415bafe3ce879bc67d7539a2901 Mon Sep 17 00:00:00 2001 From: erihel Date: Tue, 9 Apr 2013 12:20:40 +0200 Subject: * Loading 3D sound settings from profile --- src/ui/maindialog.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/ui/maindialog.cpp b/src/ui/maindialog.cpp index 75db2a6..b75fab6 100644 --- a/src/ui/maindialog.cpp +++ b/src/ui/maindialog.cpp @@ -5719,6 +5719,11 @@ void CMainDialog::SetupRecall() { m_sound->SetMusicVolume(iValue); } + + if ( GetProfile().GetLocalProfileInt("Setup", "Sound3D", iValue) ) + { + m_sound->SetSound3D(iValue == 1); + } if ( GetProfile().GetLocalProfileInt("Setup", "EditIndentMode", iValue) ) { -- cgit v1.2.3-1-g7c22