Decompile fn_19723 (CPartialShutDownSchedule::Process)
Batch #18027 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_19723 CPartialShutDownSchedule::Process: logic confirmed by peer review Peer-reviewed-by: Yommy, KWDev, 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:
parent
f200c60499
commit
cb6d09c835
1 changed files with 2 additions and 1 deletions
|
|
@ -78,7 +78,8 @@ void CPartialShutDownSchedule::Process(const std::uint64_t& now) {
|
|||
if (seconds >= 3600) {
|
||||
char text[256];
|
||||
std::memset(text, 0, 255);
|
||||
std::sprintf(text, LookupMessage(MSI_MENU_WEBBROWSERWND), seconds / 3600, (seconds % 3600) / 60);
|
||||
int secondsPerHour = 3600;
|
||||
std::sprintf(text, LookupMessage(MSI_MENU_WEBBROWSERWND), seconds / secondsPerHour, (seconds % secondsPerHour) / 60);
|
||||
g_windowMgr.SendNotice(UIM_PUSHINTOCHATHISTORY, reinterpret_cast<std::intptr_t>(text), 0xFFFF, 0, 0, 0);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue