summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-23 01:01:21 +0200
committeraap <aap@papnet.eu>2019-06-23 01:01:21 +0200
commit047fa20f28890176e0d86191b3a9fd459d967785 (patch)
tree78d7ce0c5ad0546648643fb8b2c901efee74d5e5 /src/World.cpp
parentFixed little bug in Radar.cpp. (diff)
downloadre3-047fa20f28890176e0d86191b3a9fd459d967785.tar
re3-047fa20f28890176e0d86191b3a9fd459d967785.tar.gz
re3-047fa20f28890176e0d86191b3a9fd459d967785.tar.bz2
re3-047fa20f28890176e0d86191b3a9fd459d967785.tar.lz
re3-047fa20f28890176e0d86191b3a9fd459d967785.tar.xz
re3-047fa20f28890176e0d86191b3a9fd459d967785.tar.zst
re3-047fa20f28890176e0d86191b3a9fd459d967785.zip
Diffstat (limited to 'src/World.cpp')
-rw-r--r--src/World.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World.cpp b/src/World.cpp
index 1a715e0c..bc29a527 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -236,7 +236,7 @@ CWorld::ProcessLineOfSightSectorList(CPtrList &list, const CColLine &line, CColP
if(((CPed*)e)->UseGroundColModel())
colmodel = &CTempColModels::ms_colModelPedGroundHit;
else
- colmodel = CModelInfo::GetModelInfo(e->GetModelIndex())->GetColModel();
+ colmodel = ((CPedModelInfo*)CModelInfo::GetModelInfo(e->GetModelIndex()))->GetHitColModel();
}else
colmodel = nil;
}else if(e->bUsesCollision)