diff options
author | Fire-Head <Fire-Head@users.noreply.github.com> | 2020-08-08 14:06:45 +0200 |
---|---|---|
committer | Fire-Head <Fire-Head@users.noreply.github.com> | 2020-08-08 14:06:45 +0200 |
commit | d2e090317ff303ba0b7f662c7d7837a9402ad48c (patch) | |
tree | 5ff04d62b2aae81115d242308b1c6f8528e69c2d /src/peds | |
parent | Merge remote-tracking branch 'origin/master' into miami (diff) | |
download | re3-d2e090317ff303ba0b7f662c7d7837a9402ad48c.tar re3-d2e090317ff303ba0b7f662c7d7837a9402ad48c.tar.gz re3-d2e090317ff303ba0b7f662c7d7837a9402ad48c.tar.bz2 re3-d2e090317ff303ba0b7f662c7d7837a9402ad48c.tar.lz re3-d2e090317ff303ba0b7f662c7d7837a9402ad48c.tar.xz re3-d2e090317ff303ba0b7f662c7d7837a9402ad48c.tar.zst re3-d2e090317ff303ba0b7f662c7d7837a9402ad48c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/peds/Ped.cpp | 8 | ||||
-rw-r--r-- | src/peds/Ped.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp index 4e1c3c6d..f1a2742b 100644 --- a/src/peds/Ped.cpp +++ b/src/peds/Ped.cpp @@ -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; diff --git a/src/peds/Ped.h b/src/peds/Ped.h index 979eb29c..6b0cc5fb 100644 --- a/src/peds/Ped.h +++ b/src/peds/Ped.h @@ -363,7 +363,7 @@ class CVehicle; class CPed : public CPhysical { public: -#if 1 +#ifdef USE_CUTSCENE_SHADOW_FOR_PED class CCutsceneShadow *m_pRTShadow; #endif // 0x128 |