From 63a8df23740a2a9ebdf58c9a5e9bb46098339d52 Mon Sep 17 00:00:00 2001 From: Misha <106913236+MishaProductions@users.noreply.github.com> Date: Sat, 16 Dec 2023 20:12:29 -0500 Subject: [PATCH] Update mxstreamcontroller.cpp --- LEGO1/mxstreamcontroller.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/LEGO1/mxstreamcontroller.cpp b/LEGO1/mxstreamcontroller.cpp index a3040209..0a3145d6 100644 --- a/LEGO1/mxstreamcontroller.cpp +++ b/LEGO1/mxstreamcontroller.cpp @@ -154,12 +154,10 @@ MxResult MxStreamController::InsertActionToList54(MxDSAction* p_action) MxAutoLocker locker(&m_criticalSection); MxDSAction* action = p_action->Clone(); - if (action == NULL) - { + if (action == NULL) { return FAILURE; } - else - { + else { m_unk0x54.push_back(action); return SUCCESS; }