Decompile fn_17140 (UIWindowMgr::RemoveSnapRectangle)
Batch #12138 by Toshiro: 0 byte-identical, 1 confirmed by peer review. - fn_17140 UIWindowMgr::RemoveSnapRectangle: logic confirmed by peer review Peer-reviewed-by: Yommy, Tanke 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
70dc663563
commit
47c1f2842d
1 changed files with 1 additions and 4 deletions
|
|
@ -1329,10 +1329,7 @@ void UIWindowMgr::DestroyPersistentWindows() {
|
|||
// FUNCTION: fn_17140
|
||||
void UIWindowMgr::RemoveSnapRectangle(UIWindow* window) {
|
||||
if (g_serviceOptions.Get(141)) {
|
||||
const auto entry = this->snapRectangles.find(window);
|
||||
if (entry != this->snapRectangles.end()) {
|
||||
this->snapRectangles.erase(entry);
|
||||
}
|
||||
this->snapRectangles.erase(window);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue