mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-16 15:04:08 +00:00
IsStatic
This commit is contained in:
parent
aa12251c6b
commit
a24b65cbde
8 changed files with 26 additions and 25 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue