summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Automobile.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-05 23:21:26 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-05 23:21:26 +0200
commit35bf340401354f0c9af9efe88ae425bfd9e1b145 (patch)
tree627ac266b96acbabda3dc2e9b5cf95801ca7b199 /src/vehicles/Automobile.cpp
parentMerge remote-tracking branch 'upstream/miami' into miami (diff)
downloadre3-35bf340401354f0c9af9efe88ae425bfd9e1b145.tar
re3-35bf340401354f0c9af9efe88ae425bfd9e1b145.tar.gz
re3-35bf340401354f0c9af9efe88ae425bfd9e1b145.tar.bz2
re3-35bf340401354f0c9af9efe88ae425bfd9e1b145.tar.lz
re3-35bf340401354f0c9af9efe88ae425bfd9e1b145.tar.xz
re3-35bf340401354f0c9af9efe88ae425bfd9e1b145.tar.zst
re3-35bf340401354f0c9af9efe88ae425bfd9e1b145.zip
Diffstat (limited to '')
-rw-r--r--src/vehicles/Automobile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/Automobile.cpp b/src/vehicles/Automobile.cpp
index 8b267c09..4f0029ef 100644
--- a/src/vehicles/Automobile.cpp
+++ b/src/vehicles/Automobile.cpp
@@ -2190,7 +2190,7 @@ CAutomobile::ProcessEntityCollision(CEntity *ent, CColPoint *colpoints)
}
// move body cast
- if(phys->bIsStatic){
+ if(phys->IsStatic()){
phys->bIsStatic = false;
phys->m_nStaticFrames = 0;
phys->ApplyMoveForce(m_vecMoveSpeed / Sqrt(speed));