summaryrefslogtreecommitdiffstats
path: root/src/rw
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2020-07-29 11:41:53 +0200
committerFire-Head <Fire-Head@users.noreply.github.com>2020-07-29 11:41:53 +0200
commitf2f19ccea383475cef145b62d44cdb309919ad47 (patch)
tree75bc37d60f34c46403b52e1fc11005d15917ad26 /src/rw
parentMerge pull request #1 from GTAmodding/miami (diff)
downloadre3-f2f19ccea383475cef145b62d44cdb309919ad47.tar
re3-f2f19ccea383475cef145b62d44cdb309919ad47.tar.gz
re3-f2f19ccea383475cef145b62d44cdb309919ad47.tar.bz2
re3-f2f19ccea383475cef145b62d44cdb309919ad47.tar.lz
re3-f2f19ccea383475cef145b62d44cdb309919ad47.tar.xz
re3-f2f19ccea383475cef145b62d44cdb309919ad47.tar.zst
re3-f2f19ccea383475cef145b62d44cdb309919ad47.zip
Diffstat (limited to '')
-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;
}