Decompile fn_17281 (UIWindowMgr::SaveVisibleWindowIds)

Batch #16297 by Yommy: 0 byte-identical, 1 confirmed by peer review.

- fn_17281 UIWindowMgr::SaveVisibleWindowIds: logic confirmed by peer review

Peer-reviewed-by: youko, Toshiro
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 16:43:36 +00:00
commit 8f8e1283e7

View file

@ -597,8 +597,8 @@ void UIWindowMgr::SaveVisibleWindowIds() {
}
this->savedWindowIds.clear();
for (UIWindow* window : this->rendered) {
int id = window->geometry.id;
for (auto it = this->rendered.begin(); it != this->rendered.end(); ++it) {
int id = (*it)->geometry.id;
if (id == 8) {
if (this->itemWndVisible) {
this->savedWindowIds.push_back(id);