diff options
author | aap <aap@papnet.eu> | 2020-03-31 10:29:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-31 10:29:35 +0200 |
commit | a57d9b6797841db38f14b63e224da2d00d8f38fc (patch) | |
tree | 619bc010a0a290810fcc96b79b3a4071da1bb9cb /src/core/Frontend.cpp | |
parent | Merge pull request #371 from Sergeanur/MoreLanguages (diff) | |
parent | Mouse free cam for peds&cars (under FREE_CAM) (diff) | |
download | re3-a57d9b6797841db38f14b63e224da2d00d8f38fc.tar re3-a57d9b6797841db38f14b63e224da2d00d8f38fc.tar.gz re3-a57d9b6797841db38f14b63e224da2d00d8f38fc.tar.bz2 re3-a57d9b6797841db38f14b63e224da2d00d8f38fc.tar.lz re3-a57d9b6797841db38f14b63e224da2d00d8f38fc.tar.xz re3-a57d9b6797841db38f14b63e224da2d00d8f38fc.tar.zst re3-a57d9b6797841db38f14b63e224da2d00d8f38fc.zip |
Diffstat (limited to 'src/core/Frontend.cpp')
-rw-r--r-- | src/core/Frontend.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/core/Frontend.cpp b/src/core/Frontend.cpp index 72d7d912..09759c28 100644 --- a/src/core/Frontend.cpp +++ b/src/core/Frontend.cpp @@ -64,7 +64,6 @@ bool &CMenuManager::m_bShutDownFrontEndRequested = *(bool*)0x95CD6A; int8 &CMenuManager::m_PrefsUseWideScreen = *(int8*)0x95CD23; int8 &CMenuManager::m_PrefsRadioStation = *(int8*)0x95CDA4; -int8 &CMenuManager::m_bDisableMouseSteering = *(int8*)0x60252C; // 1 int32 &CMenuManager::m_PrefsBrightness = *(int32*)0x5F2E50; // 256 float &CMenuManager::m_PrefsLOD = *(float*)0x8F42C4; int8 &CMenuManager::m_bFrontEnd_ReloadObrTxtGxt = *(int8*)0x628CFC; @@ -968,7 +967,7 @@ void CMenuManager::Draw() rightText = TheText.Get(m_PrefsDMA ? "FEM_ON" : "FEM_OFF"); break; case MENUACTION_MOUSESTEER: - rightText = TheText.Get(m_bDisableMouseSteering ? "FEM_OFF" : "FEM_ON"); + rightText = TheText.Get(CVehicle::m_bDisableMouseSteering ? "FEM_OFF" : "FEM_ON"); break; } @@ -3165,7 +3164,7 @@ CMenuManager::ProcessButtonPresses(void) CMenuManager::m_ControlMethod = CONTROL_STANDART; MousePointerStateHelper.bInvertVertically = false; TheCamera.m_fMouseAccelHorzntl = 0.0025f; - m_bDisableMouseSteering = true; + CVehicle::m_bDisableMouseSteering = true; TheCamera.m_bHeadBob = false; SaveSettings(); } @@ -3484,7 +3483,7 @@ void CMenuManager::ProcessOnOffMenuOptions() SaveSettings(); break; case MENUACTION_MOUSESTEER: - m_bDisableMouseSteering = !m_bDisableMouseSteering; + CVehicle::m_bDisableMouseSteering = !CVehicle::m_bDisableMouseSteering; DMAudio.PlayFrontEndSound(SOUND_FRONTEND_MENU_SUCCESS, 0); SaveSettings(); break; |