CScriptPointOfInterest: Brace conditionals where applicable

This commit is contained in:
Lioncash 2020-05-07 12:35:31 -04:00
parent 192cbd5e14
commit e47d0446b1
1 changed files with 3 additions and 2 deletions

View File

@ -31,10 +31,11 @@ void CScriptPointOfInterest::AddToRenderer(const zeus::CFrustum&, CStateManager&
void CScriptPointOfInterest::Render(CStateManager&) {} void CScriptPointOfInterest::Render(CStateManager&) {}
void CScriptPointOfInterest::CalculateRenderBounds() { void CScriptPointOfInterest::CalculateRenderBounds() {
if (xe8_pointSize == 0.f) if (xe8_pointSize == 0.f) {
CActor::CalculateRenderBounds(); CActor::CalculateRenderBounds();
else } else {
x9c_renderBounds = zeus::CAABox(x34_transform.origin - xe8_pointSize, x34_transform.origin + xe8_pointSize); x9c_renderBounds = zeus::CAABox(x34_transform.origin - xe8_pointSize, x34_transform.origin + xe8_pointSize);
}
} }
std::optional<zeus::CAABox> CScriptPointOfInterest::GetTouchBounds() const { std::optional<zeus::CAABox> CScriptPointOfInterest::GetTouchBounds() const {