diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-06 19:17:47 +0300 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-06 19:17:47 +0300 |
commit | a24b65cbde23929c388e0c207b804a87346a9592 (patch) | |
tree | 6c9a63358c2bdbff7983b70001ce0684d62ca4ba /src/vehicles | |
parent | aa12251c6b29e169516778473d0e17fce52d9e2d (diff) |
IsStatic
Diffstat (limited to 'src/vehicles')
-rw-r--r-- | src/vehicles/Automobile.cpp | 2 |
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)); |