Fix compile issue in CheatClassUI for release
This commit is contained in:
parent
8dc26cc3eb
commit
dbf63a7647
|
@ -14,7 +14,8 @@
|
|||
|
||||
CCheatsUI::CCheatsUI(void) :
|
||||
m_EditCheat(m_SelectCheat),
|
||||
m_SelectCheat(m_EditCheat)
|
||||
m_SelectCheat(m_EditCheat),
|
||||
m_bModal(false)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -30,6 +31,7 @@ void CCheatsUI::Display(HWND hParent, bool BlockExecution)
|
|||
}
|
||||
if (BlockExecution)
|
||||
{
|
||||
m_bModal = true;
|
||||
DoModal(hParent);
|
||||
}
|
||||
else if (m_hWnd != NULL)
|
||||
|
@ -38,6 +40,7 @@ void CCheatsUI::Display(HWND hParent, bool BlockExecution)
|
|||
}
|
||||
else
|
||||
{
|
||||
m_bModal = false;
|
||||
Create(hParent);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -196,6 +196,7 @@ private:
|
|||
CCheatList m_SelectCheat;
|
||||
CButton m_StateBtn;
|
||||
int m_MinSizeDlg, m_MaxSizeDlg;
|
||||
bool m_bModal;
|
||||
|
||||
enum Dialog_State { CONTRACTED, EXPANDED } m_DialogState;
|
||||
};
|
Loading…
Reference in New Issue