mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 16:00:02 +00:00
Add optimize off to fix compiler bug CBike::ProcessControl
This commit is contained in:
parent
57098a77ec
commit
3b2558bb9e
|
@ -205,6 +205,8 @@ float fDAxisY = 1000.0f;
|
||||||
float fInAirXRes = 0.98f;
|
float fInAirXRes = 0.98f;
|
||||||
float fFlySpeedMult = -0.6f;
|
float fFlySpeedMult = -0.6f;
|
||||||
|
|
||||||
|
#pragma optimize("", off) // a workaround for another compiler bug =P, original had optimize off for this function too though
|
||||||
|
|
||||||
void
|
void
|
||||||
CBike::ProcessControl(void)
|
CBike::ProcessControl(void)
|
||||||
{
|
{
|
||||||
|
@ -1257,6 +1259,8 @@ CBike::ProcessControl(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma optimize("", on)
|
||||||
|
|
||||||
void
|
void
|
||||||
CBike::Teleport(CVector pos)
|
CBike::Teleport(CVector pos)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue