From fce16ff48d2310af2d75c1ffc3ef871c479a00c8 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 12 Nov 2026 11:04:35 +0000 Subject: [PATCH] Decompile fn_12512 (UIEscOptionWnd::UIEscOptionWnd) Batch #18169 by eAthena: 1 byte-identical, 0 confirmed by peer review. - fn_12512 UIEscOptionWnd::UIEscOptionWnd: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/UI/GameSettings/UIEscOptionWnd.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Source/UI/GameSettings/UIEscOptionWnd.cpp b/Source/UI/GameSettings/UIEscOptionWnd.cpp index b6ef15b7f..3934acc0a 100644 --- a/Source/UI/GameSettings/UIEscOptionWnd.cpp +++ b/Source/UI/GameSettings/UIEscOptionWnd.cpp @@ -73,17 +73,11 @@ void UIEscOptionWnd::LayoutButtons() { UIEscOptionWnd::UIEscOptionWnd() : UIFrameWnd(0), m_titleHeight(17) { CGameMode* mode = static_cast(g_modeMgr.GetGameMode()); - int escMode; if (mode->isPlayerDead != 0) { - if (!mode->HasResurrectionItem() && !g_session.HasSkillEffect(580)) { - escMode = 1; - } else { - escMode = 2; - } + this->m_mode = !mode->HasResurrectionItem() && !g_session.HasSkillEffect(580) ? 1 : 2; } else { - escMode = 0; + this->m_mode = 0; } - this->m_mode = escMode; } #include "Contents/Party/AdventurerAgencyMgr.h"