summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rw/RwHelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rw/RwHelper.cpp b/src/rw/RwHelper.cpp
index d207a08b..0f2bc7b2 100644
--- a/src/rw/RwHelper.cpp
+++ b/src/rw/RwHelper.cpp
@@ -509,7 +509,7 @@ RpClump *RpClumpGetBoundingSphere(RpClump *clump, RwSphere *sphere, bool useLTM)
RwV3dTransformPoints(&result.center, &result.center, 1, &matrix);
- RwSphereAssign(sphere, &result);
+ *sphere = result;
return clump;
}