Decompile fn_17212 (UIWindowMgr::RunModal)

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

- fn_17212 UIWindowMgr::RunModal: logic confirmed by peer review

Peer-reviewed-by: Yommy, cremane, StrawberrysherbetIX
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-05 00:29:15 +00:00
commit 624364cb82

View file

@ -293,7 +293,7 @@ int UIWindowMgr::RunModal(UIWindow* window) {
int response = 184;
if (g_modalImmediate == 0) {
CMode* pump = static_cast<CMode*>(g_charViewMode);
CMode* pump = g_modeMgr.gameMode;
for (;;) {
if (this->activeWindowId != 0) {
@ -326,7 +326,7 @@ int UIWindowMgr::RunModal(UIWindow* window) {
if (pump) {
pump->Update();
pump = static_cast<CMode*>(g_charViewMode);
pump = g_modeMgr.gameMode;
}
if (g_session.GetOption(20) > 0) {