mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-25 08:15:40 +00:00
Update Ped.cpp
This commit is contained in:
parent
d2e090317f
commit
265b07a8d9
1 changed files with 1 additions and 4 deletions
|
@ -2788,13 +2788,10 @@ CPed::SetModelIndex(uint32 mi)
|
||||||
// This is a mistake by R*, velocity is CVector, whereas m_vecAnimMoveDelta is CVector2D.
|
// This is a mistake by R*, velocity is CVector, whereas m_vecAnimMoveDelta is CVector2D.
|
||||||
(*RPANIMBLENDCLUMPDATA(m_rwObject))->velocity = (CVector*) &m_vecAnimMoveDelta;
|
(*RPANIMBLENDCLUMPDATA(m_rwObject))->velocity = (CVector*) &m_vecAnimMoveDelta;
|
||||||
|
|
||||||
#ifdef PED_SKIN
|
|
||||||
if(modelInfo->GetHitColModel() == nil)
|
if(modelInfo->GetHitColModel() == nil)
|
||||||
modelInfo->CreateHitColModelSkinned(GetClump());
|
modelInfo->CreateHitColModelSkinned(GetClump());
|
||||||
|
|
||||||
if (IsClumpSkinned(GetClump())) // condition isn't there in VC
|
UpdateRpHAnim();
|
||||||
UpdateRpHAnim();
|
|
||||||
#endif
|
|
||||||
#ifdef USE_CUTSCENE_SHADOW_FOR_PED
|
#ifdef USE_CUTSCENE_SHADOW_FOR_PED
|
||||||
if (!m_pRTShadow)
|
if (!m_pRTShadow)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue