Decompile fn_21429 (ModeDragState::BeginItem)

Batch #12648 by cremane: 0 byte-identical, 1 confirmed by peer review.

- fn_21429 ModeDragState::BeginItem: logic confirmed by peer review

Peer-reviewed-by: Yommy, aDw, codeplay
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-06 03:20:07 +00:00
commit dc2ca32066

View file

@ -33,10 +33,7 @@ void ModeDragState::Clear() {
void ModeDragState::BeginItem(
WindowManagerWindows& windows, int sourceValue, const ITEM_INFO& item, int quantityValue, int slotValue
) {
UIWindow* window = windows.EnsureWindow(15);
if (window->geometry.visible != 0) {
window->Show(0);
}
windows.ShowWindowById(15, 0);
this->Clear();
if (item.unknown_0000[1] == 0) {