summaryrefslogtreecommitdiffstats
path: root/src/core/re3.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-02-11 11:31:13 +0100
committerGitHub <noreply@github.com>2021-02-11 11:31:13 +0100
commit9d8e32d9b2eb774f82825069e0c05ad47ce1ebe9 (patch)
tree238dbe95beaf7b48e44fb814389ec71abce943fc /src/core/re3.cpp
parentFix crash when falling from bike while shooting (diff)
parentMore fixes (diff)
downloadre3-9d8e32d9b2eb774f82825069e0c05ad47ce1ebe9.tar
re3-9d8e32d9b2eb774f82825069e0c05ad47ce1ebe9.tar.gz
re3-9d8e32d9b2eb774f82825069e0c05ad47ce1ebe9.tar.bz2
re3-9d8e32d9b2eb774f82825069e0c05ad47ce1ebe9.tar.lz
re3-9d8e32d9b2eb774f82825069e0c05ad47ce1ebe9.tar.xz
re3-9d8e32d9b2eb774f82825069e0c05ad47ce1ebe9.tar.zst
re3-9d8e32d9b2eb774f82825069e0c05ad47ce1ebe9.zip
Diffstat (limited to 'src/core/re3.cpp')
-rw-r--r--src/core/re3.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/re3.cpp b/src/core/re3.cpp
index 3388b56a..779a7d13 100644
--- a/src/core/re3.cpp
+++ b/src/core/re3.cpp
@@ -409,6 +409,7 @@ bool LoadINISettings()
ReadIniIfExists("Controller", "HorizantalMouseSens", &TheCamera.m_fMouseAccelHorzntl);
ReadIniIfExists("Controller", "InvertMouseVertically", &MousePointerStateHelper.bInvertVertically);
ReadIniIfExists("Controller", "DisableMouseSteering", &CVehicle::m_bDisableMouseSteering);
+ ReadIniIfExists("Controller", "Vibration", &FrontEndMenuManager.m_PrefsUseVibration);
ReadIniIfExists("Audio", "SfxVolume", &FrontEndMenuManager.m_PrefsSfxVolume);
ReadIniIfExists("Audio", "MusicVolume", &FrontEndMenuManager.m_PrefsMusicVolume);
ReadIniIfExists("Audio", "MP3BoostVolume", &FrontEndMenuManager.m_PrefsMP3BoostVolume);
@@ -501,6 +502,7 @@ void SaveINISettings()
StoreIni("Controller", "HorizantalMouseSens", TheCamera.m_fMouseAccelHorzntl);
StoreIni("Controller", "InvertMouseVertically", MousePointerStateHelper.bInvertVertically);
StoreIni("Controller", "DisableMouseSteering", CVehicle::m_bDisableMouseSteering);
+ StoreIni("Controller", "Vibration", FrontEndMenuManager.m_PrefsUseVibration);
StoreIni("Audio", "SfxVolume", FrontEndMenuManager.m_PrefsSfxVolume);
StoreIni("Audio", "MusicVolume", FrontEndMenuManager.m_PrefsMusicVolume);
StoreIni("Audio", "MP3BoostVolume", FrontEndMenuManager.m_PrefsMP3BoostVolume);