aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Handlers/SkillHandler.cpp
diff options
context:
space:
mode:
authorMeji <alvaro.megias@outlook.com>2022-09-08 14:49:03 +0200
committerGitHub <noreply@github.com>2022-09-08 14:49:03 +0200
commit69e0249807f5a8f351e6be6f7350ebace3d2997a (patch)
tree0d47494cd68fd4cbff226d2c4a9eee055cd3839d /src/server/game/Handlers/SkillHandler.cpp
parent6e9a6700d83f0ad07c7c56becfc3a62434707208 (diff)
Core/Gossip: Drop OptionType for gossip_menu_option and rename OptionIcon to OptionNpc as it also determines functionality on client side (#28220)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
Diffstat (limited to 'src/server/game/Handlers/SkillHandler.cpp')
-rw-r--r--src/server/game/Handlers/SkillHandler.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/server/game/Handlers/SkillHandler.cpp b/src/server/game/Handlers/SkillHandler.cpp
index 6079ed8c757..e4461af9337 100644
--- a/src/server/game/Handlers/SkillHandler.cpp
+++ b/src/server/game/Handlers/SkillHandler.cpp
@@ -92,18 +92,12 @@ void WorldSession::HandleConfirmRespecWipeOpcode(WorldPackets::Talent::ConfirmRe
if (!unit->CanResetTalents(_player))
return;
- if (!_player->PlayerTalkClass->GetGossipMenu().HasMenuItemType(GOSSIP_OPTION_UNLEARNTALENTS))
- return;
-
// remove fake death
if (GetPlayer()->HasUnitState(UNIT_STATE_DIED))
GetPlayer()->RemoveAurasByType(SPELL_AURA_FEIGN_DEATH);
if (!_player->ResetTalents())
- {
- GetPlayer()->SendRespecWipeConfirm(ObjectGuid::Empty, 0);
return;
- }
_player->SendTalentsInfoData();
unit->CastSpell(_player, 14867, true); //spell: "Untalent Visual Effect"