Fixed warnings when EXTRA_LOGS are off
This commit is contained in:
parent
e687d223ff
commit
dcdddf658b
11 changed files with 25 additions and 13 deletions
|
|
@ -15060,7 +15060,6 @@ void Unit::ProcDamageAndSpellFor(bool isVictim, Unit* target, uint32 procFlag, u
|
|||
|
||||
bool takeCharges = false;
|
||||
SpellInfo const* spellInfo = i->aura->GetSpellInfo();
|
||||
uint32 Id = i->aura->GetId();
|
||||
|
||||
AuraApplication* aurApp = i->aura->GetApplicationOfTarget(GetGUID());
|
||||
|
||||
|
|
@ -15084,6 +15083,7 @@ void Unit::ProcDamageAndSpellFor(bool isVictim, Unit* target, uint32 procFlag, u
|
|||
if (!handled && HandleAuraProc(target, damage, i->aura, procSpell, procFlag, procExtra, cooldown, &handled))
|
||||
{
|
||||
#if defined(ENABLE_EXTRAS) && defined(ENABLE_EXTRA_LOGS)
|
||||
uint32 Id = i->aura->GetId();
|
||||
sLog->outDebug(LOG_FILTER_SPELLS_AURAS, "ProcDamageAndSpell: casting spell %u (triggered with value by %s aura of spell %u)", spellInfo->Id, (isVictim?"a victim's":"an attacker's"), Id);
|
||||
#endif
|
||||
takeCharges = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue