From 61470514aa66aaa9ee4e54ce8e954744d9c18f84 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 5 Nov 2026 15:28:47 +0000 Subject: [PATCH] Confirm 2 functions in Source/UI/Buttons/UICheckBox.cpp Batch #12449 by cremane: 2 byte-identical, 0 confirmed by peer review. - fn_10932 UICheckBox::SetChecked: byte-identical (already on main) - fn_10841 UICheckBox::Slot25: byte-identical (already on main) Merged automatically: every function is byte-identical to the original. --- Source/UI/Buttons/UICheckBox.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Source/UI/Buttons/UICheckBox.cpp b/Source/UI/Buttons/UICheckBox.cpp index 882dc1f8..c104da9c 100644 --- a/Source/UI/Buttons/UICheckBox.cpp +++ b/Source/UI/Buttons/UICheckBox.cpp @@ -55,13 +55,10 @@ void UICheckBox::Paint() { // INLINED __forceinline void UICheckBox::Notify() { this->Invalidate(); - UIWindow* root = this; - - while (root->parent) { - root = root->parent; + if (this->Root()) { + this->Root()->Invalidate(); } - root->Invalidate(); if (this->parent) { this->parent->SendMsg(this, 6, this->geometry.id, this->geometry.unknown_0030, 0, 0); }