mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-15 07:54:09 +00:00
CEntity and friends
This commit is contained in:
parent
8a90e32f1b
commit
bdbe5d1080
26 changed files with 581 additions and 650 deletions
|
@ -2192,6 +2192,7 @@ CAutomobile::ProcessEntityCollision(CEntity *ent, CColPoint *colpoints)
|
|||
phys->RegisterReference((CEntity**)&m_aGroundPhysical[i]);
|
||||
m_aGroundOffset[i] = m_aWheelColPoints[i].point - phys->GetPosition();
|
||||
|
||||
#if 0
|
||||
if(phys->GetModelIndex() == MI_BODYCAST && GetStatus() == STATUS_PLAYER){
|
||||
// damage body cast
|
||||
float speed = m_vecMoveSpeed.MagnitudeSqr();
|
||||
|
@ -2208,6 +2209,7 @@ CAutomobile::ProcessEntityCollision(CEntity *ent, CColPoint *colpoints)
|
|||
phys->AddToMovingList();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
m_nSurfaceTouched = m_aWheelColPoints[i].surfaceB;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue