diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 51552912e..ace900cbd 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -4145,7 +4145,7 @@ void Spell::EffectUnlearnSpecialization(SpellEffectEntry const* effect) _player->removeSpell(spellToUnlearn); if (WorldObject const* caster = GetCastingObject()) - DEBUG_LOG("Spell: %s has unlearned spell %u at %s", _player->GetGuidStr().c_str(), spellToUnlearn, m_caster->GetGuidStr().c_str()); + DEBUG_LOG("Spell: %s has unlearned spell %u at %s", _player->GetGuidStr().c_str(), spellToUnlearn, caster->GetGuidStr().c_str()); } void Spell::EffectPowerDrain(SpellEffectEntry const* effect) @@ -5851,7 +5851,7 @@ void Spell::EffectLearnSkill(SpellEffectEntry const* effect) ((Player*)unitTarget)->SetSkill(skillid, skillval ? skillval : 1, damage * 75, damage); if (WorldObject const* caster = GetCastingObject()) - DEBUG_LOG("Spell: %s has learned skill %u (to maxlevel %u) from %s", unitTarget->GetGuidStr().c_str(), skillid, damage * 75, m_caster->GetGuidStr().c_str()); + DEBUG_LOG("Spell: %s has learned skill %u (to maxlevel %u) from %s", unitTarget->GetGuidStr().c_str(), skillid, damage * 75, caster->GetGuidStr().c_str()); } void Spell::EffectAddHonor(SpellEffectEntry const* /*effect*/) diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 6d9487ede..bdf57e008 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "12574" + #define REVISION_NR "12575" #endif // __REVISION_NR_H__