summaryrefslogtreecommitdiffstats
path: root/src/rw/RwHelper.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/rw/RwHelper.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 'src/rw/RwHelper.cpp')
-rw-r--r--src/rw/RwHelper.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rw/RwHelper.cpp b/src/rw/RwHelper.cpp
index 0f2bc7b2..5c44eb84 100644
--- a/src/rw/RwHelper.cpp
+++ b/src/rw/RwHelper.cpp
@@ -484,8 +484,8 @@ RpClump *RpClumpGetBoundingSphere(RpClump *clump, RwSphere *sphere, bool useLTM)
b_cbsUseLTM = useLTM;
- if ( clump == NULL || sphere == NULL )
- return NULL;
+ if ( clump == nil || sphere == nil )
+ return nil;
sphere->radius = 0.0f;
sphere->center.x = 0.0f;
@@ -494,7 +494,7 @@ RpClump *RpClumpGetBoundingSphere(RpClump *clump, RwSphere *sphere, bool useLTM)
RwInt32 numAtomics = RpClumpGetNumAtomics(clump);
if ( numAtomics < 1.0f )
- return NULL;
+ return nil;
RpClumpForAllAtomics(clump, cbsCalcMeanBSphereCenterCB, &result);