diff options
author | Fire-Head <Fire-Head@users.noreply.github.com> | 2020-08-08 17:04:46 +0200 |
---|---|---|
committer | Fire-Head <Fire-Head@users.noreply.github.com> | 2020-08-08 17:04:46 +0200 |
commit | 265b07a8d95d451647485741970f04237bbcff4c (patch) | |
tree | 723258e0a3810ced08b20015343fa112585ef689 /src/peds | |
parent | static shadows fix, cutscene shadows switches (diff) | |
download | re3-265b07a8d95d451647485741970f04237bbcff4c.tar re3-265b07a8d95d451647485741970f04237bbcff4c.tar.gz re3-265b07a8d95d451647485741970f04237bbcff4c.tar.bz2 re3-265b07a8d95d451647485741970f04237bbcff4c.tar.lz re3-265b07a8d95d451647485741970f04237bbcff4c.tar.xz re3-265b07a8d95d451647485741970f04237bbcff4c.tar.zst re3-265b07a8d95d451647485741970f04237bbcff4c.zip |
Diffstat (limited to 'src/peds')
-rw-r--r-- | src/peds/Ped.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp index f1a2742b..4c8a29cc 100644 --- a/src/peds/Ped.cpp +++ b/src/peds/Ped.cpp @@ -2788,13 +2788,10 @@ CPed::SetModelIndex(uint32 mi) // This is a mistake by R*, velocity is CVector, whereas m_vecAnimMoveDelta is CVector2D. (*RPANIMBLENDCLUMPDATA(m_rwObject))->velocity = (CVector*) &m_vecAnimMoveDelta; -#ifdef PED_SKIN if(modelInfo->GetHitColModel() == nil) modelInfo->CreateHitColModelSkinned(GetClump()); - if (IsClumpSkinned(GetClump())) // condition isn't there in VC - UpdateRpHAnim(); -#endif + UpdateRpHAnim(); #ifdef USE_CUTSCENE_SHADOW_FOR_PED if (!m_pRTShadow) { |