diff --git a/Source/UI/Shop/UIMerchantShopTitle.cpp b/Source/UI/Shop/UIMerchantShopTitle.cpp index 557223e9..f6213c21 100644 --- a/Source/UI/Shop/UIMerchantShopTitle.cpp +++ b/Source/UI/Shop/UIMerchantShopTitle.cpp @@ -60,3 +60,13 @@ void UIMerchantShopTitle::ResetCursor(int x, int y) { this->m_context->cursor.Set(0, this->m_context->cursorTick); } } + +// OFFSET: 0x0085FE20 +// FUNCTION: fn_10886 +void UIMerchantShopTitle::Slot32(int, int) { + if (g_serviceOptions.Get(167)) { + g_modeMgr.gameMode->SendMsg(245, 0, 0, 0, 0); + g_session.unknown_1760.clear(); + g_session.unknown_1748.clear(); + } +} diff --git a/Source/UI/Shop/UIMerchantShopTitle.h b/Source/UI/Shop/UIMerchantShopTitle.h index 90cd30f7..c4c6741f 100644 --- a/Source/UI/Shop/UIMerchantShopTitle.h +++ b/Source/UI/Shop/UIMerchantShopTitle.h @@ -11,6 +11,7 @@ public: void Slot25(int x, int y) override; void Slot26(int x, int y) override; void ResetCursor(int x, int y) override; + void Slot32(int x, int y) override; /* 007C */ int unknown_007C; /* 0080 */ std::uint32_t ownerAid;