summaryrefslogtreecommitdiffstats
path: root/src/collision
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-08-11 08:36:58 +0200
committerSergeanur <s.anureev@yandex.ua>2021-08-11 08:36:58 +0200
commit2c79080e1b16cb794b33e24508c11ab4fc259b48 (patch)
tree9f602753c501bd1524179753beeb52771f43e924 /src/collision
parentMerge remote-tracking branch 'upstream/lcs' into lcs (diff)
parentMerge branch 'master' into miami (diff)
downloadre3-2c79080e1b16cb794b33e24508c11ab4fc259b48.tar
re3-2c79080e1b16cb794b33e24508c11ab4fc259b48.tar.gz
re3-2c79080e1b16cb794b33e24508c11ab4fc259b48.tar.bz2
re3-2c79080e1b16cb794b33e24508c11ab4fc259b48.tar.lz
re3-2c79080e1b16cb794b33e24508c11ab4fc259b48.tar.xz
re3-2c79080e1b16cb794b33e24508c11ab4fc259b48.tar.zst
re3-2c79080e1b16cb794b33e24508c11ab4fc259b48.zip
Diffstat (limited to 'src/collision')
-rw-r--r--src/collision/Collision.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/collision/Collision.cpp b/src/collision/Collision.cpp
index bb2c2e71..946513d3 100644
--- a/src/collision/Collision.cpp
+++ b/src/collision/Collision.cpp
@@ -105,7 +105,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;
}