summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-12-26 10:53:51 +0100
committerSergeanur <s.anureev@yandex.ua>2020-12-26 10:54:35 +0100
commit3b2558bb9e2abea80ed7f06cd2a893549eda5119 (patch)
tree05c92f22e76abc3b9866980fb43e429a9a5e085f /src/vehicles
parentBackface cull. in INI, mouse sensitivity fix, aspect ratio auto as default (diff)
downloadre3-3b2558bb9e2abea80ed7f06cd2a893549eda5119.tar
re3-3b2558bb9e2abea80ed7f06cd2a893549eda5119.tar.gz
re3-3b2558bb9e2abea80ed7f06cd2a893549eda5119.tar.bz2
re3-3b2558bb9e2abea80ed7f06cd2a893549eda5119.tar.lz
re3-3b2558bb9e2abea80ed7f06cd2a893549eda5119.tar.xz
re3-3b2558bb9e2abea80ed7f06cd2a893549eda5119.tar.zst
re3-3b2558bb9e2abea80ed7f06cd2a893549eda5119.zip
Diffstat (limited to 'src/vehicles')
-rw-r--r--src/vehicles/Bike.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vehicles/Bike.cpp b/src/vehicles/Bike.cpp
index 06cca57e..2148a1a4 100644
--- a/src/vehicles/Bike.cpp
+++ b/src/vehicles/Bike.cpp
@@ -205,6 +205,8 @@ float fDAxisY = 1000.0f;
float fInAirXRes = 0.98f;
float fFlySpeedMult = -0.6f;
+#pragma optimize("", off) // a workaround for another compiler bug =P, original had optimize off for this function too though
+
void
CBike::ProcessControl(void)
{
@@ -1257,6 +1259,8 @@ CBike::ProcessControl(void)
}
}
+#pragma optimize("", on)
+
void
CBike::Teleport(CVector pos)
{