mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2025-01-27 00:55:28 +01:00
Revert "little emergecy fix for shadows with librw"
This reverts commit 658f94f15591b6cb4c73f51ec5e2f7e3e99462e7.
This commit is contained in:
parent
0328cb04d7
commit
1a72701903
@ -2788,12 +2788,14 @@ 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
|
||||||
#ifndef LIBRW
|
#if 1
|
||||||
if (!m_pRTShadow)
|
if (!m_pRTShadow)
|
||||||
{
|
{
|
||||||
m_pRTShadow = new CCutsceneShadow;
|
m_pRTShadow = new CCutsceneShadow;
|
||||||
|
@ -853,7 +853,7 @@ CShadows::StoreShadowForPed(CPed *pPed, float fDisplacementX, float fDisplacemen
|
|||||||
{
|
{
|
||||||
if ( CTimeCycle::GetShadowStrength() != 0 )
|
if ( CTimeCycle::GetShadowStrength() != 0 )
|
||||||
{
|
{
|
||||||
#ifndef LIBRW
|
#if 1
|
||||||
CCutsceneShadow *pShadow = pPed->m_pRTShadow;
|
CCutsceneShadow *pShadow = pPed->m_pRTShadow;
|
||||||
|
|
||||||
if (pShadow)
|
if (pShadow)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user