diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-07-10 01:07:14 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-07-10 01:07:14 +0200 |
commit | 71d1b4641706a577f90a7f30493fbb9588b36f5f (patch) | |
tree | 386648347c57741590ad6f3254064233373c9de6 /src | |
parent | Remove redundant SampleManager.InitialiseChannel call (diff) | |
parent | Update GXT compiler with fix of German (diff) | |
download | re3-71d1b4641706a577f90a7f30493fbb9588b36f5f.tar re3-71d1b4641706a577f90a7f30493fbb9588b36f5f.tar.gz re3-71d1b4641706a577f90a7f30493fbb9588b36f5f.tar.bz2 re3-71d1b4641706a577f90a7f30493fbb9588b36f5f.tar.lz re3-71d1b4641706a577f90a7f30493fbb9588b36f5f.tar.xz re3-71d1b4641706a577f90a7f30493fbb9588b36f5f.tar.zst re3-71d1b4641706a577f90a7f30493fbb9588b36f5f.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/core/config.h | 5 | ||||
-rw-r--r-- | src/vehicles/Vehicle.cpp | 7 |
2 files changed, 9 insertions, 3 deletions
diff --git a/src/core/config.h b/src/core/config.h index e50b33f2..ca0aadc5 100644 --- a/src/core/config.h +++ b/src/core/config.h @@ -468,6 +468,11 @@ static_assert(false, "SUPPORT_XBOX_SCRIPT and SUPPORT_MOBILE_SCRIPT are mutually #undef DISABLE_LOADING_SCREEN #undef DISABLE_VSYNC_ON_TEXTURE_CONVERSION +#undef EXTENDED_COLOURFILTER +#undef EXTENDED_PIPELINES +#undef SCREEN_DROPLETS +#undef NEW_RENDERER + #undef FIX_SPRITES #define PC_WATER diff --git a/src/vehicles/Vehicle.cpp b/src/vehicles/Vehicle.cpp index e684aad7..49427476 100644 --- a/src/vehicles/Vehicle.cpp +++ b/src/vehicles/Vehicle.cpp @@ -817,11 +817,12 @@ CVehicle::ProcessWheel(CVector &wheelFwd, CVector &wheelRight, CVector &wheelCon if(contactSpeedRight != 0.0f){ // exert opposing force right = -contactSpeedRight/wheelsOnGround; -#ifdef FIX_BUGS + // BUG? // contactSpeedRight is independent of framerate but right has timestep as a factor // so we probably have to fix this - right *= CTimer::GetTimeStepFix(); -#endif + // fixing this causes jittery cars at 15fps, and causes the car to move backwards slowly at 18fps + // at 19fps, the effects are gone ... + //right *= CTimer::GetTimeStepFix(); if(wheelStatus == WHEEL_STATUS_BURST){ float fwdspeed = Min(contactSpeedFwd, fBurstSpeedMax); |