Vehicle: Automobile: fixes and style things

This commit is contained in:
erorcun
2021-01-02 18:27:11 +03:00
parent 38bca2332d
commit 482ff4562f
4 changed files with 8 additions and 4 deletions

View File

@@ -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)
{