Bring more changes from DC port

This commit is contained in:
Shinovon 2026-05-02 15:22:39 +05:00
parent f6a5685de8
commit 7dae1b0268
10 changed files with 401 additions and 119 deletions

View file

@ -218,7 +218,7 @@ 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
//#pragma optimize("", off) // that's what R* did
void
CAutomobile::ProcessControl(void)
@ -1222,7 +1222,7 @@ CAutomobile::ProcessControl(void)
}
}
#pragma optimize("", on)
//#pragma optimize("", on)
void
CAutomobile::Teleport(CVector pos)