summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2020-07-29 12:41:53 +0300
committerFire-Head <Fire-Head@users.noreply.github.com>2020-07-29 12:41:53 +0300
commitf2f19ccea383475cef145b62d44cdb309919ad47 (patch)
tree75bc37d60f34c46403b52e1fc11005d15917ad26
parent52e77c66345399f7f1064b80676a2495e299bb46 (diff)
Update RwHelper.cpp
-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;
}