chore(Core/Misc): add LOG_ERROR where there was commented ASSERT (#6761)

This commit is contained in:
Kitzunu
2021-07-07 17:56:17 +02:00
committed by GitHub
parent b66314b67d
commit 66da9f1354
7 changed files with 30 additions and 10 deletions

View File

@@ -675,7 +675,7 @@ Spell::~Spell()
{
// Clean the reference to avoid later crash.
// If this error is repeating, we may have to add an ASSERT to better track down how we get into this case.
LOG_ERROR("spells", "SPELL: deleting spell for spell ID %u. However, spell still referenced.", m_spellInfo->Id);
LOG_ERROR("spells", "Spell::~Spell: deleting spell for spell ID %u. However, spell still referenced.", m_spellInfo->Id);
*m_selfContainer = nullptr;
}