1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 10:40:00 +00:00

Revert "little emergecy fix for shadows with librw"

This reverts commit 658f94f155.
This commit is contained in:
Fire-Head 2020-08-08 18:14:01 +03:00
parent 0328cb04d7
commit 1a72701903
2 changed files with 6 additions and 4 deletions

View file

@ -2788,12 +2788,14 @@ 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());
UpdateRpHAnim();
#ifndef LIBRW
if (IsClumpSkinned(GetClump())) // condition isn't there in VC
UpdateRpHAnim();
#endif
#if 1
if (!m_pRTShadow)
{
m_pRTShadow = new CCutsceneShadow;

View file

@ -853,7 +853,7 @@ CShadows::StoreShadowForPed(CPed *pPed, float fDisplacementX, float fDisplacemen
{
if ( CTimeCycle::GetShadowStrength() != 0 )
{
#ifndef LIBRW
#if 1
CCutsceneShadow *pShadow = pPed->m_pRTShadow;
if (pShadow)