summaryrefslogtreecommitdiff
path: root/src/KingSystem/ActorSystem/actInfoData.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/KingSystem/ActorSystem/actInfoData.cpp')
-rw-r--r--src/KingSystem/ActorSystem/actInfoData.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/KingSystem/ActorSystem/actInfoData.cpp b/src/KingSystem/ActorSystem/actInfoData.cpp
index 94fb092d..6a4b1c21 100644
--- a/src/KingSystem/ActorSystem/actInfoData.cpp
+++ b/src/KingSystem/ActorSystem/actInfoData.cpp
@@ -587,7 +587,7 @@ bool InfoData::getYLimitAlgorithm(const char** algorithm, const char* actor) con
f32 InfoData::getAabbNorm(const char* actor, bool x) const {
sead::Vector3f min, max;
if (getAAbbMinMax(actor, &min, &max, x))
- return sead::norm2(max - min);
+ return (max - min).length();
return 0.0;
}