mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-18 22:39:23 +00:00
Fix a bunch of CModelInfo::GetModelInfo->GetColModel calls
This commit is contained in:
parent
8ea411e4c5
commit
1f98f01dcb
11 changed files with 24 additions and 24 deletions
|
@ -130,7 +130,7 @@ GetCollisionInSectorList(CPtrList &list)
|
|||
|
||||
for(node = list.first; node; node = node->next){
|
||||
e = (CEntity*)node->item;
|
||||
level = CModelInfo::GetModelInfo(e->GetModelIndex())->GetColModel()->level;
|
||||
level = CModelInfo::GetColModel(e->GetModelIndex())->level;
|
||||
if(level != LEVEL_GENERIC)
|
||||
return (eLevelName)level;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue