Core/Player: Remove spell used to unlearn talents and replace with a direct packet send. Spell is not found casted in 3.3.5a sniffs. Thanks Malcrom for the hint.

This commit is contained in:
kaelima
2012-02-03 14:55:59 +01:00
parent 229d4119e8
commit e602619912

View File

@@ -14323,7 +14323,7 @@ void Player::OnGossipSelect(WorldObject* source, uint32 gossipListId, uint32 men
break;
case GOSSIP_OPTION_UNLEARNTALENTS:
PlayerTalkClass->SendCloseGossip();
source->ToCreature()->CastSpell(this, 46331, true); // Trainer: Untrain Talents
SendTalentWipeConfirm(guid);
break;
case GOSSIP_OPTION_UNLEARNPETTALENTS:
PlayerTalkClass->SendCloseGossip();