From 224fd77641271eb6cd466048fedcfb0592cb8fe4 Mon Sep 17 00:00:00 2001 From: Fire-Head Date: Fri, 31 Jul 2020 21:21:58 +0300 Subject: NULL -> nil --- src/rw/RwHelper.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/rw') 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); -- cgit v1.2.3