summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-05-06 18:32:57 +0200
committerSergeanur <s.anureev@yandex.ua>2020-05-06 18:32:57 +0200
commit6ad66fb2d78360053febb3369a7ec448ffec73fd (patch)
tree6c0f21a5f8ecc2cb7facd55f3944b65c1c3a6d0e /src/vehicles
parentCSphere and CBox for CColModel (diff)
parentMerge pull request #517 from Nick007J/master (diff)
downloadre3-6ad66fb2d78360053febb3369a7ec448ffec73fd.tar
re3-6ad66fb2d78360053febb3369a7ec448ffec73fd.tar.gz
re3-6ad66fb2d78360053febb3369a7ec448ffec73fd.tar.bz2
re3-6ad66fb2d78360053febb3369a7ec448ffec73fd.tar.lz
re3-6ad66fb2d78360053febb3369a7ec448ffec73fd.tar.xz
re3-6ad66fb2d78360053febb3369a7ec448ffec73fd.tar.zst
re3-6ad66fb2d78360053febb3369a7ec448ffec73fd.zip
Diffstat (limited to 'src/vehicles')
-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));