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

@ -754,9 +754,6 @@ EntityController::UnitFieldUpdateResult EntityController::applyUnitFieldsOnUpdat
unit->setHealth(val);
result.healthChanged = true;
if (val == 0) {
LOG_WARNING("NPC death: guid=0x", std::hex, block.guid, std::dec,
" type=", static_cast<int>(entity->getType()),
" hasDeathCb=", (owner_.npcDeathCallbackRef() ? 1 : 0));
if (owner_.getCombatHandler() && block.guid == owner_.getCombatHandler()->getAutoAttackTargetGuid()) {
owner_.stopAutoAttack();
}