Decompile fn_17211 (UIWindowMgr::AddMessageBox)
Batch #11434 by Yommy: 1 byte-identical, 0 confirmed by peer review. - fn_17211 UIWindowMgr::AddMessageBox: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
d68d3380ff
commit
f145a15de8
2 changed files with 4 additions and 5 deletions
|
|
@ -248,9 +248,7 @@ int UIWindowMgr::Confirm(
|
|||
void UIWindowMgr::AddMessageBox(
|
||||
const char* text, int type, bool defaultAccept, int, int timeout, const char* caption, int width, int height, const char* icon, bool track
|
||||
) {
|
||||
std::vector<UIWindow*>& boxes = this->messageBoxes;
|
||||
|
||||
if (boxes.size() > 5) {
|
||||
if (this->messageBoxes.size() > 5) {
|
||||
MessageBoxA(hWnd, "Max MessageBox Count", "ERROR", 0);
|
||||
return;
|
||||
}
|
||||
|
|
@ -260,7 +258,7 @@ void UIWindowMgr::AddMessageBox(
|
|||
this->rendered.push_back(box);
|
||||
|
||||
if (track) {
|
||||
boxes.push_back(box);
|
||||
this->messageBoxes.push_back(box);
|
||||
}
|
||||
|
||||
this->inputWindow = nullptr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue