mirror of
https://github.com/halpz/re3.git
synced 2025-07-15 11:08:14 +00:00
implemented skinned peds, no cutscene hands yet
This commit is contained in:
@ -339,6 +339,11 @@ CWorld::ProcessLineOfSightSectorList(CPtrList &list, const CColLine &line, CColP
|
||||
|
||||
if(e->IsPed()) {
|
||||
if(e->bUsesCollision || deadPeds && ((CPed *)e)->m_nPedState == PED_DEAD) {
|
||||
#ifdef PED_SKIN
|
||||
if(IsClumpSkinned(e->GetClump()))
|
||||
colmodel = ((CPedModelInfo *)CModelInfo::GetModelInfo(e->GetModelIndex()))->AnimatePedColModelSkinned(e->GetClump());
|
||||
else
|
||||
#endif
|
||||
if(((CPed *)e)->UseGroundColModel())
|
||||
colmodel = &CTempColModels::ms_colModelPedGroundHit;
|
||||
else
|
||||
|
Reference in New Issue
Block a user