summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-05-08 13:34:21 +0200
committerSergeanur <s.anureev@yandex.ua>2020-05-08 13:34:21 +0200
commite0b3418e65a81ed986507c186ba5f2e2eae1cb30 (patch)
treee823ae1a2404e1991187a1ceaf7ce505b897c32e /src/core
parentsmall fixes (diff)
downloadre3-e0b3418e65a81ed986507c186ba5f2e2eae1cb30.tar
re3-e0b3418e65a81ed986507c186ba5f2e2eae1cb30.tar.gz
re3-e0b3418e65a81ed986507c186ba5f2e2eae1cb30.tar.bz2
re3-e0b3418e65a81ed986507c186ba5f2e2eae1cb30.tar.lz
re3-e0b3418e65a81ed986507c186ba5f2e2eae1cb30.tar.xz
re3-e0b3418e65a81ed986507c186ba5f2e2eae1cb30.tar.zst
re3-e0b3418e65a81ed986507c186ba5f2e2eae1cb30.zip
Diffstat (limited to '')
-rw-r--r--src/core/Cam.cpp2
-rw-r--r--src/core/Timer.h5
2 files changed, 6 insertions, 1 deletions
diff --git a/src/core/Cam.cpp b/src/core/Cam.cpp
index e33e6bb0..76d8d22b 100644
--- a/src/core/Cam.cpp
+++ b/src/core/Cam.cpp
@@ -4489,7 +4489,7 @@ CCam::Process_FollowPed_Rotation(const CVector &CameraTarget, float TargetOrient
*/
{
LookLeftRight = -CPad::GetPad(0)->LookAroundLeftRight();
- LookUpDown = CPad::GetPad(0)->LookAroundUpDown();
+ LookUpDown = -CPad::GetPad(0)->LookAroundUpDown();
}
float AlphaOffset, BetaOffset;
if(UseMouse){
diff --git a/src/core/Timer.h b/src/core/Timer.h
index 00a11409..004cda4d 100644
--- a/src/core/Timer.h
+++ b/src/core/Timer.h
@@ -56,6 +56,11 @@ public:
friend bool GenericLoad(void);
friend bool GenericSave(int file);
+
+#ifdef FIX_BUGS
+ static float GetDefaultTimeStep(void) { return 5.0f / 3.0f; }
+ static float GetTimeStepFix(void) { return GetTimeStep() / GetDefaultTimeStep(); }
+#endif
};
#ifdef FIX_BUGS