mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-12 21:30:34 +00:00
sorted out object collision enums
This commit is contained in:
parent
b4bbd91921
commit
a2b89c6a18
4 changed files with 31 additions and 22 deletions
|
@ -9551,7 +9551,7 @@ CPed::ProcessControl(void)
|
|||
{
|
||||
CBaseModelInfo *collidingModel = CModelInfo::GetModelInfo(collidingEnt->GetModelIndex());
|
||||
CColModel *collidingCol = collidingModel->GetColModel();
|
||||
if (collidingEnt->IsObject() && ((CObject*)collidingEnt)->m_nSpecialCollisionResponseCases != COLLRESPONSE_CHANGE_THEN_SMASH
|
||||
if (collidingEnt->IsObject() && ((CObject*)collidingEnt)->m_nSpecialCollisionResponseCases != COLLRESPONSE_FENCEPART
|
||||
|| collidingCol->boundingBox.max.x < 3.0f
|
||||
&& collidingCol->boundingBox.max.y < 3.0f) {
|
||||
|
||||
|
@ -16934,7 +16934,7 @@ CPed::SpawnFlyingComponent(int pedNode, int8 direction)
|
|||
obj->ObjectCreatedBy = TEMP_OBJECT;
|
||||
obj->bIsStatic = false;
|
||||
obj->bIsPickup = false;
|
||||
obj->m_nSpecialCollisionResponseCases = COLLRESPONSE_SPLIT_MODEL;
|
||||
obj->m_nSpecialCollisionResponseCases = COLLRESPONSE_SMALLBOX;
|
||||
|
||||
// life time - the more objects the are, the shorter this one will live
|
||||
CObject::nNoTempObjects++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue