summaryrefslogtreecommitdiffstats
path: root/src/core/Camera.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-09-26 12:30:22 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-09-26 12:30:22 +0200
commitb42d9e3e7c1caf6ad06ad81eb34cc27e09bd9bb9 (patch)
tree84d1bb921722801784283e70667b93b8a7ee4dc1 /src/core/Camera.cpp
parentMerge remote-tracking branch 'upstream/master' (diff)
downloadre3-b42d9e3e7c1caf6ad06ad81eb34cc27e09bd9bb9.tar
re3-b42d9e3e7c1caf6ad06ad81eb34cc27e09bd9bb9.tar.gz
re3-b42d9e3e7c1caf6ad06ad81eb34cc27e09bd9bb9.tar.bz2
re3-b42d9e3e7c1caf6ad06ad81eb34cc27e09bd9bb9.tar.lz
re3-b42d9e3e7c1caf6ad06ad81eb34cc27e09bd9bb9.tar.xz
re3-b42d9e3e7c1caf6ad06ad81eb34cc27e09bd9bb9.tar.zst
re3-b42d9e3e7c1caf6ad06ad81eb34cc27e09bd9bb9.zip
Diffstat (limited to '')
-rw-r--r--src/core/Camera.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/Camera.cpp b/src/core/Camera.cpp
index abe0833e..8f6fb3eb 100644
--- a/src/core/Camera.cpp
+++ b/src/core/Camera.cpp
@@ -74,7 +74,7 @@ bool bDidWeProcessAnyCinemaCam;
CCamera::CCamera(void)
{
-#ifdef GTA3_1_1_PATCH
+#if defined(GTA3_1_1_PATCH) || defined(FIX_BUGS)
m_fMouseAccelHorzntl = 0.0025f;
m_fMouseAccelVertical = 0.003f;
#endif
@@ -88,7 +88,7 @@ CCamera::CCamera(float)
void
CCamera::Init(void)
{
-#ifdef GTA3_1_1_PATCH
+#if defined(GTA3_1_1_PATCH) || defined(FIX_BUGS)
float fMouseAccelHorzntl = m_fMouseAccelHorzntl;
float fMouseAccelVertical = m_fMouseAccelVertical;
#endif
@@ -104,7 +104,7 @@ CCamera::Init(void)
memset(this, 0, sizeof(CCamera)); // getting rid of vtable, eh?
#endif
- #ifdef GTA3_1_1_PATCH
+ #if defined(GTA3_1_1_PATCH) || defined(FIX_BUGS)
m_fMouseAccelHorzntl = fMouseAccelHorzntl;
m_fMouseAccelVertical = fMouseAccelVertical;
#endif
@@ -237,7 +237,7 @@ CCamera::Init(void)
m_uiTransitionState = 0;
m_uiTimeTransitionStart = 0;
m_bLookingAtPlayer = true;
-#ifndef GTA3_1_1_PATCH
+#if !defined(GTA3_1_1_PATCH) && !defined(FIX_BUGS)
m_fMouseAccelHorzntl = 0.0025f;
m_fMouseAccelVertical = 0.003f;
#endif