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.
This commit is contained in:
parent
d0f06709e9
commit
fce16ff48d
1 changed files with 2 additions and 8 deletions
|
|
@ -73,17 +73,11 @@ void UIEscOptionWnd::LayoutButtons() {
|
|||
UIEscOptionWnd::UIEscOptionWnd()
|
||||
: UIFrameWnd(0), m_titleHeight(17) {
|
||||
CGameMode* mode = static_cast<CGameMode*>(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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue