diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-08-11 08:35:01 +0300 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-08-11 08:35:01 +0300 |
commit | d7a28c4d2b80a82646f15b4fdbce7a26aeb2eaa8 (patch) | |
tree | 6e30f138b2ca1cdc015a30205063b8c18cbc8cb0 /src/collision | |
parent | 0544beb00d5eaf6c974bb7ebcf1f871e3ce94cfb (diff) |
Fix a bunch of CModelInfo::GetModelInfo->GetColModel calls
Diffstat (limited to 'src/collision')
-rw-r--r-- | src/collision/Collision.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/collision/Collision.cpp b/src/collision/Collision.cpp index 0ffcd09a..f39f3f35 100644 --- a/src/collision/Collision.cpp +++ b/src/collision/Collision.cpp @@ -101,7 +101,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; } |