summaryrefslogtreecommitdiff
path: root/src/vehicles
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-06 19:17:47 +0300
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-06 19:17:47 +0300
commita24b65cbde23929c388e0c207b804a87346a9592 (patch)
tree6c9a63358c2bdbff7983b70001ce0684d62ca4ba /src/vehicles
parentaa12251c6b29e169516778473d0e17fce52d9e2d (diff)
IsStatic
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 9db60da0..60f17204 100644
--- a/src/vehicles/Automobile.cpp
+++ b/src/vehicles/Automobile.cpp
@@ -2194,7 +2194,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));