summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/peds/Ped.cpp8
-rw-r--r--src/render/Shadows.cpp2
2 files changed, 4 insertions, 6 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp
index 4e1c3c6d..be39f26e 100644
--- a/src/peds/Ped.cpp
+++ b/src/peds/Ped.cpp
@@ -2788,14 +2788,12 @@ 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
-#if 1
+ UpdateRpHAnim();
+
+#ifndef LIBRW
if (!m_pRTShadow)
{
m_pRTShadow = new CCutsceneShadow;
diff --git a/src/render/Shadows.cpp b/src/render/Shadows.cpp
index 9b864d27..0ee63b9a 100644
--- a/src/render/Shadows.cpp
+++ b/src/render/Shadows.cpp
@@ -853,7 +853,7 @@ CShadows::StoreShadowForPed(CPed *pPed, float fDisplacementX, float fDisplacemen
{
if ( CTimeCycle::GetShadowStrength() != 0 )
{
- #if 1
+ #ifndef LIBRW
CCutsceneShadow *pShadow = pPed->m_pRTShadow;
if (pShadow)