diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-06 18:18:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-06 18:18:44 +0200 |
commit | 3895853fe7b2aab0fb88d144d598ebf853f35020 (patch) | |
tree | 6c9a63358c2bdbff7983b70001ce0684d62ca4ba /src/vehicles | |
parent | Merge branch 'master' of github.com:GTAmodding/re3 (diff) | |
parent | IsStatic (diff) | |
download | re3-3895853fe7b2aab0fb88d144d598ebf853f35020.tar re3-3895853fe7b2aab0fb88d144d598ebf853f35020.tar.gz re3-3895853fe7b2aab0fb88d144d598ebf853f35020.tar.bz2 re3-3895853fe7b2aab0fb88d144d598ebf853f35020.tar.lz re3-3895853fe7b2aab0fb88d144d598ebf853f35020.tar.xz re3-3895853fe7b2aab0fb88d144d598ebf853f35020.tar.zst re3-3895853fe7b2aab0fb88d144d598ebf853f35020.zip |
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)); |