mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-13 07:50:34 +00:00
Rename LEVEL_NONE to LEVEL_GENERIC
This commit is contained in:
parent
6eb8f6ae5a
commit
841fa5155c
27 changed files with 69 additions and 69 deletions
|
@ -226,7 +226,7 @@ CModelInfo::RemoveColModelsFromOtherLevels(eLevelName level)
|
|||
mi = GetModelInfo(i);
|
||||
if(mi){
|
||||
colmodel = mi->GetColModel();
|
||||
if(colmodel && colmodel->level != LEVEL_NONE && colmodel->level != level)
|
||||
if(colmodel && colmodel->level != LEVEL_GENERIC && colmodel->level != level)
|
||||
colmodel->RemoveCollisionVolumes();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -265,7 +265,7 @@ CPedModelInfo::CreateHitColModel(void)
|
|||
max.x = max.y = 0.5f;
|
||||
max.z = 1.2f;
|
||||
colmodel->boundingBox.Set(min, max, 0, 0);
|
||||
colmodel->level = LEVEL_NONE;
|
||||
colmodel->level = LEVEL_GENERIC;
|
||||
m_hitColModel = colmodel;
|
||||
}
|
||||
|
||||
|
@ -349,7 +349,7 @@ CPedModelInfo::CreateHitColModelSkinned(RpClump *clump)
|
|||
max.x = max.y = 0.5f;
|
||||
max.z = 1.2f;
|
||||
colmodel->boundingBox.Set(min, max, 0, 0);
|
||||
colmodel->level = LEVEL_NONE;
|
||||
colmodel->level = LEVEL_GENERIC;
|
||||
m_hitColModel = colmodel;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue