Decompile fn_11795 (UINoticeWnd::LoadNotice)

Batch #16003 by Yommy: 1 byte-identical, 0 confirmed by peer review.

- fn_11795 UINoticeWnd::LoadNotice: byte-identical

Merged automatically: every function is byte-identical to the original.
This commit is contained in:
ragnarok-clanker 2026-11-10 12:46:19 +00:00
commit c673ea6120

View file

@ -63,13 +63,13 @@ void UINoticeWnd::LoadNotice() {
}
}
int visible = lineCount - 1;
if (visible > 19) {
visible = 19;
--lineCount;
if (lineCount > 19) {
lineCount = 19;
}
for (int i = 0; i < 19; ++i) {
if (i < visible) {
if (i < lineCount) {
this->m_texts[i]->SetText(buffer + lineStarts[this->m_scroll + i], 1);
} else {
this->m_texts[i]->SetText("", 0);