mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-06 21:24:09 +00:00
AnimViewer messages, Particle fix, Peds
This commit is contained in:
parent
41e8caeb6e
commit
39223901bf
11 changed files with 595 additions and 15 deletions
|
@ -294,10 +294,14 @@ CWorld::ProcessLineOfSightSectorList(CPtrList &list, const CColLine &line, CColP
|
|||
if(e->IsPed()){
|
||||
if(e->bUsesCollision ||
|
||||
deadPeds && ((CPed*)e)->m_nPedState == PED_DEAD){
|
||||
if(((CPed*)e)->UseGroundColModel())
|
||||
if (((CPed*)e)->UseGroundColModel())
|
||||
colmodel = &CTempColModels::ms_colModelPedGroundHit;
|
||||
else
|
||||
#ifdef ANIMATE_PED_COL_MODEL
|
||||
colmodel = CPedModelInfo::AnimatePedColModel(((CPedModelInfo*)CModelInfo::GetModelInfo(e->GetModelIndex()))->GetHitColModel(), RpClumpGetFrame(e->GetClump()));
|
||||
#else
|
||||
colmodel = ((CPedModelInfo*)CModelInfo::GetModelInfo(e->GetModelIndex()))->GetHitColModel();
|
||||
#endif
|
||||
}else
|
||||
colmodel = nil;
|
||||
}else if(e->bUsesCollision)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue