diff options
author | erorcun <erayorcunus@gmail.com> | 2020-04-19 15:54:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-19 15:54:05 +0200 |
commit | f9ed50e17813d2a6708a6516e18041c7482a7462 (patch) | |
tree | e8d1312d1e2a9706793ac781271fedc73db91624 /src/vehicles/Automobile.cpp | |
parent | Fix savename buffer overflow (diff) | |
parent | Struct cleanup, various fixes, enable PS2 rand (diff) | |
download | re3-f9ed50e17813d2a6708a6516e18041c7482a7462.tar re3-f9ed50e17813d2a6708a6516e18041c7482a7462.tar.gz re3-f9ed50e17813d2a6708a6516e18041c7482a7462.tar.bz2 re3-f9ed50e17813d2a6708a6516e18041c7482a7462.tar.lz re3-f9ed50e17813d2a6708a6516e18041c7482a7462.tar.xz re3-f9ed50e17813d2a6708a6516e18041c7482a7462.tar.zst re3-f9ed50e17813d2a6708a6516e18041c7482a7462.zip |
Diffstat (limited to 'src/vehicles/Automobile.cpp')
-rw-r--r-- | src/vehicles/Automobile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicles/Automobile.cpp b/src/vehicles/Automobile.cpp index c2a664a6..2d0aadcc 100644 --- a/src/vehicles/Automobile.cpp +++ b/src/vehicles/Automobile.cpp @@ -562,7 +562,7 @@ CAutomobile::ProcessControl(void) bWasPostponed = false; bHasHitWall = false; m_fDistanceTravelled = 0.0f; - field_EF = false; + m_bIsVehicleBeingShifted = false; m_phy_flagA80 = false; ApplyMoveSpeed(); ApplyTurnSpeed(); @@ -2148,7 +2148,7 @@ CAutomobile::ProcessEntityCollision(CEntity *ent, CColPoint *colpoints) // m_aSuspensionSpringRatio are now set to the point where the tyre touches ground. // In ProcessControl these will be re-normalized to ignore the tyre radius. - if(field_EF || m_phy_flagA80 || + if(m_bIsVehicleBeingShifted || m_phy_flagA80 || GetModelIndex() == MI_DODO && (ent->IsPed() || ent->IsVehicle())){ // don't do line collision for(i = 0; i < 4; i++) |