mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-17 11:04:08 +00:00
static shadows fix, cutscene shadows switches
This commit is contained in:
parent
7d8ffa9ebd
commit
d2e090317f
4 changed files with 23 additions and 15 deletions
|
@ -147,7 +147,7 @@ void CPed::operator delete(void *p, int handle) { CPools::GetPedPool()->Delete((
|
|||
// --MIAMI: Done
|
||||
CPed::~CPed(void)
|
||||
{
|
||||
#if 1
|
||||
#ifdef USE_CUTSCENE_SHADOW_FOR_PED
|
||||
if ( m_pRTShadow ) delete m_pRTShadow;
|
||||
#endif
|
||||
CWorld::Remove(this);
|
||||
|
@ -207,8 +207,8 @@ CPed::FlagToDestroyWhenNextProcessed(void)
|
|||
|
||||
CPed::CPed(uint32 pedType) : m_pedIK(this)
|
||||
{
|
||||
#if 1
|
||||
m_pRTShadow = NULL;
|
||||
#ifdef USE_CUTSCENE_SHADOW_FOR_PED
|
||||
m_pRTShadow = nil;
|
||||
#endif
|
||||
m_type = ENTITY_TYPE_PED;
|
||||
bPedPhysics = true;
|
||||
|
@ -2795,7 +2795,7 @@ CPed::SetModelIndex(uint32 mi)
|
|||
if (IsClumpSkinned(GetClump())) // condition isn't there in VC
|
||||
UpdateRpHAnim();
|
||||
#endif
|
||||
#if 1
|
||||
#ifdef USE_CUTSCENE_SHADOW_FOR_PED
|
||||
if (!m_pRTShadow)
|
||||
{
|
||||
m_pRTShadow = new CCutsceneShadow;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue