summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Automobile.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-06-09 15:50:00 +0200
committeraap <aap@papnet.eu>2020-06-14 09:36:30 +0200
commitc7a32bb83d5f5fe58edd9193dd5e6ce74bda092f (patch)
tree0c8b9b663e8a547c26083dfa5748565dfdc4e084 /src/vehicles/Automobile.cpp
parentscript fix (diff)
downloadre3-c7a32bb83d5f5fe58edd9193dd5e6ce74bda092f.tar
re3-c7a32bb83d5f5fe58edd9193dd5e6ce74bda092f.tar.gz
re3-c7a32bb83d5f5fe58edd9193dd5e6ce74bda092f.tar.bz2
re3-c7a32bb83d5f5fe58edd9193dd5e6ce74bda092f.tar.lz
re3-c7a32bb83d5f5fe58edd9193dd5e6ce74bda092f.tar.xz
re3-c7a32bb83d5f5fe58edd9193dd5e6ce74bda092f.tar.zst
re3-c7a32bb83d5f5fe58edd9193dd5e6ce74bda092f.zip
Diffstat (limited to 'src/vehicles/Automobile.cpp')
-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 fcf85685..97a6ce33 100644
--- a/src/vehicles/Automobile.cpp
+++ b/src/vehicles/Automobile.cpp
@@ -273,14 +273,14 @@ CAutomobile::ProcessControl(void)
if(CReplay::IsPlayingBack())
return;
- UpdatePassengerList();
-
// Heli wind
if(IsRealHeli())
if((GetStatus() == STATUS_PLAYER || GetStatus() == STATUS_PHYSICS) && m_aWheelSpeed[1] > 0.075f ||
GetStatus() == STATUS_SIMPLE)
CWindModifiers::RegisterOne(GetPosition(), 1);
+ UpdatePassengerList();
+
// Improve grip of vehicles in certain cases
bool strongGrip1 = false;
bool strongGrip2 = false;