[c12574] Improve debug log output for learning/unlearning spells/skills

This commit is contained in:
Schmoozerd 2013-05-31 10:02:49 +01:00 committed by Antz
parent 3e2aefb538
commit 1e15277bba
3 changed files with 12 additions and 3 deletions

View file

@ -314,6 +314,7 @@ void WorldSession::HandleTrainerBuySpellOpcode(WorldPacket& recv_data)
SendPacket(&data);
// learn explicitly or cast explicitly
// TODO - Are these spells really cast correctly this way?
if (trainer_spell->IsCastable())
_player->CastSpell(_player, trainer_spell->spell, true);
else