IsStatic
This commit is contained in:
1 parent
aa12251c6b
commit
a24b65cbde
8 files changed
+26
-25
No files matched your search
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user