diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-12-26 10:56:34 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-12-26 10:56:34 +0100 |
commit | f6fe5c96c9f85d1916da9d19e6bf0de66885b3c6 (patch) | |
tree | fafb584aa306c6ffa619918c7a3733eb4e73694b /src | |
parent | fixed replay (diff) | |
parent | Add optimize off to fix compiler bug CBike::ProcessControl (diff) | |
download | re3-f6fe5c96c9f85d1916da9d19e6bf0de66885b3c6.tar re3-f6fe5c96c9f85d1916da9d19e6bf0de66885b3c6.tar.gz re3-f6fe5c96c9f85d1916da9d19e6bf0de66885b3c6.tar.bz2 re3-f6fe5c96c9f85d1916da9d19e6bf0de66885b3c6.tar.lz re3-f6fe5c96c9f85d1916da9d19e6bf0de66885b3c6.tar.xz re3-f6fe5c96c9f85d1916da9d19e6bf0de66885b3c6.tar.zst re3-f6fe5c96c9f85d1916da9d19e6bf0de66885b3c6.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/vehicles/Bike.cpp | 4 |
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) { |