aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Handlers/InspectHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/game/Handlers/InspectHandler.cpp')
-rw-r--r--src/server/game/Handlers/InspectHandler.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/game/Handlers/InspectHandler.cpp b/src/server/game/Handlers/InspectHandler.cpp
index 865dcc25152..87023704fa5 100644
--- a/src/server/game/Handlers/InspectHandler.cpp
+++ b/src/server/game/Handlers/InspectHandler.cpp
@@ -47,10 +47,12 @@ void WorldSession::HandleInspectOpcode(WorldPackets::Inspect::Inspect& inspect)
if (GetPlayer()->CanBeGameMaster() || sWorld->getIntConfig(CONFIG_TALENTS_INSPECTING) + (GetPlayer()->GetEffectiveTeam() == player->GetEffectiveTeam()) > 1)
{
+ /*
PlayerTalentMap const* talents = player->GetTalentMap(player->GetActiveTalentGroup());
for (PlayerTalentMap::value_type const& v : *talents)
if (v.second != PLAYERSPELL_REMOVED)
inspectResult.Talents.push_back(v.first);
+ */
inspectResult.TalentTraits.Level = player->GetLevel();
inspectResult.TalentTraits.ChrSpecializationID = AsUnderlyingType(player->GetPrimarySpecialization());