From f2f19ccea383475cef145b62d44cdb309919ad47 Mon Sep 17 00:00:00 2001 From: Fire-Head Date: Wed, 29 Jul 2020 12:41:53 +0300 Subject: [PATCH] Update RwHelper.cpp --- src/rw/RwHelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }