From e47d0446b1878c576bd0f91adf43af56c1e060a7 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 7 May 2020 12:35:31 -0400 Subject: [PATCH] CScriptPointOfInterest: Brace conditionals where applicable --- Runtime/World/CScriptPointOfInterest.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Runtime/World/CScriptPointOfInterest.cpp b/Runtime/World/CScriptPointOfInterest.cpp index fe60339ea..8b0c09704 100644 --- a/Runtime/World/CScriptPointOfInterest.cpp +++ b/Runtime/World/CScriptPointOfInterest.cpp @@ -31,10 +31,11 @@ void CScriptPointOfInterest::AddToRenderer(const zeus::CFrustum&, CStateManager& void CScriptPointOfInterest::Render(CStateManager&) {} void CScriptPointOfInterest::CalculateRenderBounds() { - if (xe8_pointSize == 0.f) + if (xe8_pointSize == 0.f) { CActor::CalculateRenderBounds(); - else + } else { x9c_renderBounds = zeus::CAABox(x34_transform.origin - xe8_pointSize, x34_transform.origin + xe8_pointSize); + } } std::optional CScriptPointOfInterest::GetTouchBounds() const {