summaryrefslogtreecommitdiffstats
path: root/src/core/Frontend.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-12-21 20:48:40 +0100
committeraap <aap@papnet.eu>2020-12-21 20:48:40 +0100
commit309a4613a49acb260c5422c376db2789af37d8ca (patch)
tree98b3d581df0b85471115fb67b557b09623ca8a04 /src/core/Frontend.cpp
parentfix sizeof (diff)
downloadre3-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 'src/core/Frontend.cpp')
-rw-r--r--src/core/Frontend.cpp4
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();