Decompile fn_17155 (UIWindowMgr::RestoreInput)
Batch #11428 by Yommy: 0 byte-identical, 1 confirmed by peer review. - fn_17155 UIWindowMgr::RestoreInput: logic confirmed by peer review Peer-reviewed-by: Tanke, dori, 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
cd67b56282
commit
cfa4149e94
1 changed files with 4 additions and 2 deletions
|
|
@ -116,12 +116,14 @@ UIWindow* UIWindowMgr::Top() const {
|
|||
// OFFSET: 0x00A91120
|
||||
// FUNCTION: fn_17155
|
||||
void UIWindowMgr::RestoreInput() {
|
||||
for (UIWindow* window : this->rendered) {
|
||||
for (std::list<UIWindow*>::iterator it = this->rendered.begin(); it != this->rendered.end(); ++it) {
|
||||
UIWindow* window = *it;
|
||||
if (window->geometry.visible == 0) {
|
||||
continue;
|
||||
}
|
||||
|
||||
for (UIWindow* child : window->m_children) {
|
||||
for (std::list<UIWindow*>::iterator childIt = window->m_children.begin(); childIt != window->m_children.end(); ++childIt) {
|
||||
UIWindow* child = *childIt;
|
||||
if (!child->Slot05() || child->geometry.x <= 0 || child->geometry.y <= 0) {
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue