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:
parent
a5c509728b
commit
624364cb82
1 changed files with 2 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue