diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-08-09 18:14:19 +0300 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-08-09 18:14:19 +0300 |
commit | 1f98f01dcb006783755bd58fa458bb515626b2dd (patch) | |
tree | a9c26a33b0ae98f19c48a151ae5910422e18816f /src/collision | |
parent | 8ea411e4c5c7191b0e67f0c569a32733b99a81bc (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 9d656581..832d773e 100644 --- a/src/collision/Collision.cpp +++ b/src/collision/Collision.cpp @@ -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; } |