summaryrefslogtreecommitdiffstats
path: root/src/objects/CutsceneObject.cpp
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2020-07-31 20:21:58 +0200
committerFire-Head <Fire-Head@users.noreply.github.com>2020-07-31 20:21:58 +0200
commit224fd77641271eb6cd466048fedcfb0592cb8fe4 (patch)
tree5c525853c187a9294f2b76b126e7c1301539c4a5 /src/objects/CutsceneObject.cpp
parentcutsceneshadow fixes (diff)
downloadre3-224fd77641271eb6cd466048fedcfb0592cb8fe4.tar
re3-224fd77641271eb6cd466048fedcfb0592cb8fe4.tar.gz
re3-224fd77641271eb6cd466048fedcfb0592cb8fe4.tar.bz2
re3-224fd77641271eb6cd466048fedcfb0592cb8fe4.tar.lz
re3-224fd77641271eb6cd466048fedcfb0592cb8fe4.tar.xz
re3-224fd77641271eb6cd466048fedcfb0592cb8fe4.tar.zst
re3-224fd77641271eb6cd466048fedcfb0592cb8fe4.zip
Diffstat (limited to '')
-rw-r--r--src/objects/CutsceneObject.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/objects/CutsceneObject.cpp b/src/objects/CutsceneObject.cpp
index 0d020e26..8d1be357 100644
--- a/src/objects/CutsceneObject.cpp
+++ b/src/objects/CutsceneObject.cpp
@@ -26,9 +26,9 @@ CCutsceneObject::CCutsceneObject(void)
m_fMass = 1.0f;
m_fTurnMass = 1.0f;
- m_pAttachTo = NULL;
- m_pAttachmentObject = NULL;
- m_pShadow = NULL;
+ m_pAttachTo = nil;
+ m_pAttachmentObject = nil;
+ m_pShadow = nil;
}
CCutsceneObject::~CCutsceneObject(void)
@@ -36,7 +36,7 @@ CCutsceneObject::~CCutsceneObject(void)
if ( m_pShadow )
{
delete m_pShadow;
- m_pShadow = NULL;
+ m_pShadow = nil;
}
}
@@ -116,7 +116,7 @@ CCutsceneObject::PreRender(void)
if(IsPedModel(GetModelIndex()))
{
- if ( m_pShadow == NULL )
+ if ( m_pShadow == nil )
{
CShadows::StoreShadowForPedObject(this,
CTimeCycle::m_fShadowDisplacementX[CTimeCycle::m_CurrentStoredValue],