From 7809326014ba1b8f6be5c3fc98f067c31dcc7a8b Mon Sep 17 00:00:00 2001 From: LynxDev2 <128722393+LynxDev2@users.noreply.github.com> Date: Sat, 10 Jan 2026 13:30:19 +0200 Subject: [PATCH] Fix AreaShapeCube --- lib/al/Library/Area/AreaShapeCube.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/al/Library/Area/AreaShapeCube.cpp b/lib/al/Library/Area/AreaShapeCube.cpp index 81d6e282..050fb3ca 100644 --- a/lib/al/Library/Area/AreaShapeCube.cpp +++ b/lib/al/Library/Area/AreaShapeCube.cpp @@ -14,7 +14,7 @@ bool AreaShapeCube::isInVolume(const sead::Vector3f& pos) const { bool AreaShapeCube::isInLocalVolume(const sead::Vector3f& pos) const { f32 bottom = mOriginType == OriginType::Base ? 0.0f : - (mOriginType == OriginType::Top ? -1000.0f : 500.0f); + (mOriginType == OriginType::Top ? -1000.0f : -500.0f); f32 top = mOriginType == OriginType::Base ? 1000.0f : (mOriginType == OriginType::Top ? 0.0f : 500.0f);