diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-02-10 08:16:04 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-02-10 08:16:04 +0100 |
commit | 5f3e68ec45cd7cd30e94719a9ff9625bb7545e5a (patch) | |
tree | e2fd07e983e218ef9ed27bf4d3c55567f880d3fc /src/core | |
parent | Add undef (diff) | |
download | re3-5f3e68ec45cd7cd30e94719a9ff9625bb7545e5a.tar re3-5f3e68ec45cd7cd30e94719a9ff9625bb7545e5a.tar.gz re3-5f3e68ec45cd7cd30e94719a9ff9625bb7545e5a.tar.bz2 re3-5f3e68ec45cd7cd30e94719a9ff9625bb7545e5a.tar.lz re3-5f3e68ec45cd7cd30e94719a9ff9625bb7545e5a.tar.xz re3-5f3e68ec45cd7cd30e94719a9ff9625bb7545e5a.tar.zst re3-5f3e68ec45cd7cd30e94719a9ff9625bb7545e5a.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/re3.cpp | 2 |
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); |