summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-04-30 17:58:15 +0200
committerSergeanur <s.anureev@yandex.ua>2020-04-30 17:58:15 +0200
commite14733367e9847ee7eb0ce52b0fcb501ea13a3c6 (patch)
treeb28dc3cdd3d7628514b764e62f7e6f0e297ad25b /src/vehicles
parentRename m_ped_flagA2 into bWasStanding (diff)
downloadre3-e14733367e9847ee7eb0ce52b0fcb501ea13a3c6.tar
re3-e14733367e9847ee7eb0ce52b0fcb501ea13a3c6.tar.gz
re3-e14733367e9847ee7eb0ce52b0fcb501ea13a3c6.tar.bz2
re3-e14733367e9847ee7eb0ce52b0fcb501ea13a3c6.tar.lz
re3-e14733367e9847ee7eb0ce52b0fcb501ea13a3c6.tar.xz
re3-e14733367e9847ee7eb0ce52b0fcb501ea13a3c6.tar.zst
re3-e14733367e9847ee7eb0ce52b0fcb501ea13a3c6.zip
Diffstat (limited to 'src/vehicles')
-rw-r--r--src/vehicles/Automobile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicles/Automobile.cpp b/src/vehicles/Automobile.cpp
index 87c270c1..4593966f 100644
--- a/src/vehicles/Automobile.cpp
+++ b/src/vehicles/Automobile.cpp
@@ -563,7 +563,7 @@ CAutomobile::ProcessControl(void)
bHasHitWall = false;
m_fDistanceTravelled = 0.0f;
m_bIsVehicleBeingShifted = false;
- m_phy_flagA80 = false;
+ bSkipLineCol = false;
ApplyMoveSpeed();
ApplyTurnSpeed();
for(i = 0; CheckCollision() && i < 5; i++){
@@ -2160,7 +2160,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(m_bIsVehicleBeingShifted || m_phy_flagA80 ||
+ if(m_bIsVehicleBeingShifted || bSkipLineCol ||
GetModelIndex() == MI_DODO && (ent->IsPed() || ent->IsVehicle())){
// don't do line collision
for(i = 0; i < 4; i++)