diff options
author | aap <aap@papnet.eu> | 2020-12-21 20:48:40 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-12-21 20:48:40 +0100 |
commit | 309a4613a49acb260c5422c376db2789af37d8ca (patch) | |
tree | 98b3d581df0b85471115fb67b557b09623ca8a04 /src/core/Frontend.cpp | |
parent | fix sizeof (diff) | |
download | re3-309a4613a49acb260c5422c376db2789af37d8ca.tar re3-309a4613a49acb260c5422c376db2789af37d8ca.tar.gz re3-309a4613a49acb260c5422c376db2789af37d8ca.tar.bz2 re3-309a4613a49acb260c5422c376db2789af37d8ca.tar.lz re3-309a4613a49acb260c5422c376db2789af37d8ca.tar.xz re3-309a4613a49acb260c5422c376db2789af37d8ca.tar.zst re3-309a4613a49acb260c5422c376db2789af37d8ca.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/Frontend.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/Frontend.cpp b/src/core/Frontend.cpp index 01820730..5a05ce92 100644 --- a/src/core/Frontend.cpp +++ b/src/core/Frontend.cpp @@ -1023,7 +1023,9 @@ CMenuManager::DisplaySlider(float x, float y, float mostLeftBarSize, float mostR void CMenuManager::DoSettingsBeforeStartingAGame() { +#ifdef PC_PLAYER_CONTROLS CCamera::m_bUseMouse3rdPerson = m_ControlMethod == CONTROL_STANDARD; +#endif if (m_PrefsVsyncDisp != m_PrefsVsync) m_PrefsVsync = m_PrefsVsyncDisp; @@ -4064,7 +4066,9 @@ CMenuManager::Process(void) #ifdef USE_DEBUG_SCRIPT_LOADER scriptToLoad = 0; #endif +#ifdef PC_PLAYER_CONTROLS TheCamera.m_bUseMouse3rdPerson = m_ControlMethod == CONTROL_STANDARD; +#endif if (m_PrefsVsyncDisp != m_PrefsVsync) m_PrefsVsync = m_PrefsVsyncDisp; DMAudio.Service(); |