summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Automobile.cpp
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-01-02 16:27:11 +0100
committererorcun <erorcunerorcun@hotmail.com.tr>2021-01-02 16:27:11 +0100
commit482ff4562f2ed4806c0e51f96b656a7ad80445c7 (patch)
tree71fb784b900c71e02826a393928cfb93f6a942d6 /src/vehicles/Automobile.cpp
parentFix arg (diff)
downloadre3-482ff4562f2ed4806c0e51f96b656a7ad80445c7.tar
re3-482ff4562f2ed4806c0e51f96b656a7ad80445c7.tar.gz
re3-482ff4562f2ed4806c0e51f96b656a7ad80445c7.tar.bz2
re3-482ff4562f2ed4806c0e51f96b656a7ad80445c7.tar.lz
re3-482ff4562f2ed4806c0e51f96b656a7ad80445c7.tar.xz
re3-482ff4562f2ed4806c0e51f96b656a7ad80445c7.tar.zst
re3-482ff4562f2ed4806c0e51f96b656a7ad80445c7.zip
Diffstat (limited to 'src/vehicles/Automobile.cpp')
-rw-r--r--src/vehicles/Automobile.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vehicles/Automobile.cpp b/src/vehicles/Automobile.cpp
index 79d3f6af..e66865da 100644
--- a/src/vehicles/Automobile.cpp
+++ b/src/vehicles/Automobile.cpp
@@ -216,6 +216,8 @@ CAutomobile::SetModelIndex(uint32 id)
CVector vecDAMAGE_ENGINE_POS_SMALL(-0.1f, -0.1f, 0.0f);
CVector vecDAMAGE_ENGINE_POS_BIG(-0.5f, -0.3f, 0.0f);
+#pragma optimize("", off) // that's what R* did
+
void
CAutomobile::ProcessControl(void)
{
@@ -1214,6 +1216,8 @@ CAutomobile::ProcessControl(void)
}
}
+#pragma optimize("", on)
+
void
CAutomobile::Teleport(CVector pos)
{