Decompile fn_10878 (UIMerchantShopTitle::ResetCursor)

Batch #11109 by dori: 1 byte-identical, 0 confirmed by peer review.

- fn_10878 UIMerchantShopTitle::ResetCursor: byte-identical

Peer-reviewed-by: Yommy, cremane
Merged automatically: every function is byte-identical to the original.
This commit is contained in:
ragnarok-clanker 2026-11-04 23:26:43 +00:00
commit e9c9c579af

View file

@ -72,9 +72,9 @@ void UIMerchantShopTitle::Slot26(int, int) {
// FUNCTION: fn_10878
void UIMerchantShopTitle::ResetCursor(int x, int y) {
if (x >= 0 && x < this->geometry.width && y >= 0 && y <= this->geometry.height) {
static_cast<CMode*>(g_charViewMode)->SetCursorAction(2);
g_modeMgr.gameMode->SetCursorAction(2);
} else {
static_cast<CMode*>(g_charViewMode)->SetCursorAction(0);
g_modeMgr.gameMode->SetCursorAction(0);
}
}