Decompile fn_09639 (UICheckAttendanceWnd::OnCreate)

Batch #18144 by eAthena: 0 byte-identical, 1 confirmed by peer review.

- fn_09639 UICheckAttendanceWnd::OnCreate: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, alisonrag, bibinir
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
ragnarok-clanker 2026-11-12 11:10:02 +00:00
commit f405d264c1

View file

@ -121,11 +121,7 @@ void UICheckAttendanceWnd::OnCreate(int, int) {
__time32_t now;
_time32(&now);
__time32_t remaining = _mktime32(&end) - now;
if (remaining < 1) {
this->m_daysLeft = 0;
} else {
this->m_daysLeft = _localtime32(&remaining)->tm_yday;
}
this->m_daysLeft = remaining > 0 ? _localtime32(&remaining)->tm_yday : 0;
this->m_notice = new UIBmpTextButton();
this->m_notice->SetBitmap("유저인터페이스\\check_attendance\\bt_ok_normal.bmp", 0, 0);