From 29f6ef0f76b74c261d245c11a0200c5fed5c7439 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 7 May 2020 11:41:56 -0400 Subject: [PATCH] CScriptVisorFlare: Brace conditionals where applicable --- Runtime/World/CScriptVisorFlare.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Runtime/World/CScriptVisorFlare.cpp b/Runtime/World/CScriptVisorFlare.cpp index a1e87afb9..5777d2409 100644 --- a/Runtime/World/CScriptVisorFlare.cpp +++ b/Runtime/World/CScriptVisorFlare.cpp @@ -21,8 +21,9 @@ CScriptVisorFlare::CScriptVisorFlare(TUniqueId uid, std::string_view name, const void CScriptVisorFlare::Accept(IVisitor& visitor) { visitor.Visit(this); } void CScriptVisorFlare::Think(float dt, CStateManager& stateMgr) { - if (GetActive()) + if (GetActive()) { xe8_flare.Update(dt, GetTranslation(), this, stateMgr); + } } void CScriptVisorFlare::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager& stateMgr) {