CScriptVisorFlare: Brace conditionals where applicable

This commit is contained in:
Lioncash 2020-05-07 11:41:56 -04:00
parent d517db5c5d
commit 29f6ef0f76
1 changed files with 2 additions and 1 deletions

View File

@ -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) {