fix(logging): downgrade remaining emote registry diagnostics to DEBUG
Some checks are pending
Build / Build (arm64) (push) Waiting to run
Build / Build (x86-64) (push) Waiting to run
Build / Build (macOS arm64) (push) Waiting to run
Build / Build (windows-arm64) (push) Waiting to run
Build / Build (windows-x86-64) (push) Waiting to run
Security / CodeQL (C/C++) (push) Waiting to run
Security / Semgrep (push) Waiting to run
Security / Sanitizer Build (ASan/UBSan) (push) Waiting to run

Remove temporary NPC death diagnostic from entity_controller and
downgrade emote override/load-count messages from WARNING to DEBUG.
This commit is contained in:
Kelsi 2026-04-05 20:58:11 -07:00
parent 17c1e3ea3b
commit 758f7b27b9
2 changed files with 4 additions and 7 deletions

View file

@ -117,7 +117,7 @@ void EmoteRegistry::loadFromDbc() {
uint32_t animId = emotesDbc->getUInt32(r, emL ? (*emL)["AnimID"] : 2);
if (animId != 0) emoteIdToAnim[emoteId] = animId;
}
LOG_WARNING("Emotes: loaded ", emoteIdToAnim.size(), " anim mappings from Emotes.dbc");
LOG_DEBUG("Emotes: loaded ", emoteIdToAnim.size(), " anim mappings from Emotes.dbc");
} else {
LOG_WARNING("Emotes: Emotes.dbc failed to load — all emotes will use fallback animations");
}
@ -182,17 +182,17 @@ void EmoteRegistry::loadFromDbc() {
if (info.animId == 0) {
auto ov = kAnimOverrides.find(cmd);
if (ov != kAnimOverrides.end()) {
LOG_WARNING("Emotes: override /", cmd, " → animId=", ov->second);
LOG_DEBUG("Emotes: override /", cmd, " → animId=", ov->second);
info.animId = ov->second;
}
}
}
if (emoteTable_.empty()) {
LOG_WARNING("Emotes: DBC loaded but no commands parsed, using fallback list");
LOG_DEBUG("Emotes: DBC loaded but no commands parsed, using fallback list");
loadFallbackEmotes();
} else {
LOG_WARNING("Emotes: loaded ", emoteTable_.size(), " commands from DBC");
LOG_DEBUG("Emotes: loaded ", emoteTable_.size(), " commands from DBC");
}
buildDbcIdIndex();