diff --git a/src/MetroidPrime/ScriptObjects/CScriptSpiderBallAttractionSurface.cpp b/src/MetroidPrime/ScriptObjects/CScriptSpiderBallAttractionSurface.cpp index c7b2fd1e..756b4265 100644 --- a/src/MetroidPrime/ScriptObjects/CScriptSpiderBallAttractionSurface.cpp +++ b/src/MetroidPrime/ScriptObjects/CScriptSpiderBallAttractionSurface.cpp @@ -8,7 +8,9 @@ CScriptSpiderBallAttractionSurface::CScriptSpiderBallAttractionSurface( : CActor(uid, active, name, info, xf, CModelData::CModelDataNull(), CMaterialList(kMT_NoStepLogic), CActorParameters::None(), kInvalidUniqueId) , xe8_scale(scale) -, xf4_aabb(CAABox(-(scale * 0.5f), scale * 0.5f).GetTransformedAABox(xf.GetRotation())) {} +, xf4_aabb(CAABox(-CVector3f(scale.GetX() * 0.5f, scale.GetY() * 0.5f, scale.GetZ() * 0.5f), + CVector3f(scale.GetX() * 0.5f, scale.GetY() * 0.5f, scale.GetZ() * 0.5f)) + .GetTransformedAABox(xf.GetRotation())) {} CScriptSpiderBallAttractionSurface::~CScriptSpiderBallAttractionSurface() {}