Decompile 3 functions in Source/Contents/Hotkeys/UserHotkeyMgr.cpp, Source/Contents/Hotkeys/UserHotkeyMgr.h, ...

Batch #18224 by eAthena: 0 byte-identical, 3 confirmed by peer review.

- fn_03471 CAccountLinkedUserDataMgr::ExportUserHotkey: logic confirmed by peer review
- fn_04059 CUserHotkeyMgr::HasChanges: logic confirmed by peer review
- fn_04061 CUserHotkeyMgr::Capture: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, Yommy, 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:08:48 +00:00
commit 7e96400e4a
4 changed files with 43 additions and 23 deletions

View file

@ -179,8 +179,8 @@ void CAccountLinkedUserDataMgr::Save() {
emotions.Export(data);
}
if (g_userHotkeyMgr->HasChanges(*g_session.m_hotkeyScript)) {
g_userHotkeyMgr->Export(*g_session.m_hotkeyScript, data);
if (g_userHotkeyMgr->HasChanges() == true) {
this->ExportUserHotkey(data);
}
if (!data.isNull()) {