From c308b2e3c5a201ec3d2fdd55dbd4dc473ba06db1 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 7 May 2020 12:36:06 -0400 Subject: [PATCH] CScriptPlayerHint: Brace conditionals where applicable --- Runtime/World/CScriptPlayerHint.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Runtime/World/CScriptPlayerHint.cpp b/Runtime/World/CScriptPlayerHint.cpp index a8733e28f..ee8faf6ac 100644 --- a/Runtime/World/CScriptPlayerHint.cpp +++ b/Runtime/World/CScriptPlayerHint.cpp @@ -57,8 +57,9 @@ void CScriptPlayerHint::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId send x108_mpId = kInvalidUniqueId; if ((x104_overrideFlags & 0x4000) != 0) { for (const SConnection& conn : x20_conns) { - if (conn.x0_state != EScriptObjectState::Play) + if (conn.x0_state != EScriptObjectState::Play) { continue; + } x108_mpId = mgr.GetIdForScript(conn.x8_objId); if (TCastToConstPtr mpRelay = mgr.GetObjectById(x108_mpId)) { x108_mpId = mpRelay->GetMetroidPrimeExoId();