summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-06-23 09:43:16 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2019-06-23 09:43:16 +0200
commit3dd57c445e11b6d9facaadfe4d662c2a65d58a19 (patch)
tree5b7fa945667812babef209e1f0bd9e262ed674eb /src/World.cpp
parentStorePedUpdate (diff)
parentfixed key binding, head shots, freezes (diff)
downloadre3-3dd57c445e11b6d9facaadfe4d662c2a65d58a19.tar
re3-3dd57c445e11b6d9facaadfe4d662c2a65d58a19.tar.gz
re3-3dd57c445e11b6d9facaadfe4d662c2a65d58a19.tar.bz2
re3-3dd57c445e11b6d9facaadfe4d662c2a65d58a19.tar.lz
re3-3dd57c445e11b6d9facaadfe4d662c2a65d58a19.tar.xz
re3-3dd57c445e11b6d9facaadfe4d662c2a65d58a19.tar.zst
re3-3dd57c445e11b6d9facaadfe4d662c2a65d58a19.zip
Diffstat (limited to '')
-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)