fixed key binding, head shots, freezes

This commit is contained in:
aap 2019-06-23 01:01:21 +02:00
parent 0126bef9a1
commit 047fa20f28
6 changed files with 20 additions and 22 deletions

View file

@ -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)