Decompile fn_21430 (ModeDragState::BeginSkill)

Batch #16199 by youko: 0 byte-identical, 1 confirmed by peer review.

- fn_21430 ModeDragState::BeginSkill: logic confirmed by peer review

Peer-reviewed-by: Yommy, kyoshi
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
ragnarok-clanker 2026-11-10 15:45:57 +00:00
commit fcac5f5804

View file

@ -71,11 +71,7 @@ void ModeDragState::BeginItem(
void ModeDragState::BeginSkill(
WindowManagerWindows& windows, ResourceMgr& resources, int sourceValue, std::uint32_t idValue, const char* nameValue, int level, int slotValue
) {
UIWindow* window = windows.EnsureWindow(WID_ITEMDROPCNTWND);
if (window->geometry.visible != 0) {
window->Show(0);
}
g_windowMgr.ShowWindowById(WID_ITEMDROPCNTWND, 0);
this->Clear();
this->source = sourceValue;
this->id = idValue;