mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-13 13:54:08 +00:00
NULL -> nil
This commit is contained in:
parent
e2ded2d6ce
commit
224fd77641
8 changed files with 204 additions and 204 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue