diff --git a/Source/UI/Acceptance/UIChooseSellBuyWnd.cpp b/Source/UI/Acceptance/UIChooseSellBuyWnd.cpp index d17c8c93..9f219964 100644 --- a/Source/UI/Acceptance/UIChooseSellBuyWnd.cpp +++ b/Source/UI/Acceptance/UIChooseSellBuyWnd.cpp @@ -6037,12 +6037,15 @@ void UIStatusWnd::Slot11() { // OFFSET: 0x00907650 // FUNCTION: fn_12388 int UIWaitWnd::SendMsg(UIWindow*, int message, std::intptr_t argument1, std::intptr_t argument2, std::intptr_t argument3, std::intptr_t argument4) { - if (message == 6) { + switch (message) { + case 6: if (argument1 == 185) { g_modeMgr.gameMode->SendMsg(10021, 0, 0, 0, 0); } - } else if (message == 88) { + break; + case 88: this->m_button->Move((this->geometry.width - this->m_button->BitmapWidth()) / 2, this->geometry.height - this->m_button->BitmapHeight() - 5); + break; } return 0;