aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Handlers/InspectHandler.cpp
diff options
context:
space:
mode:
authorOvahlord <dreadkiller@gmx.de>2024-07-29 02:12:51 +0200
committerOvahlord <dreadkiller@gmx.de>2024-07-29 02:12:51 +0200
commit650be9f592dd95c9458e58811ee079c29f9aa086 (patch)
tree7e3a79c60b80dbdb37d3d922690d1e9e74ca84c1 /src/server/game/Handlers/InspectHandler.cpp
parentcdc5710ba165682d70cd518f4523bde0ff29976a (diff)
Core/Player: wiped remaining traces of SpecializationInfo
Diffstat (limited to 'src/server/game/Handlers/InspectHandler.cpp')
-rw-r--r--src/server/game/Handlers/InspectHandler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/game/Handlers/InspectHandler.cpp b/src/server/game/Handlers/InspectHandler.cpp
index 865dcc25152..903bef7790f 100644
--- a/src/server/game/Handlers/InspectHandler.cpp
+++ b/src/server/game/Handlers/InspectHandler.cpp
@@ -47,10 +47,10 @@ 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);
+ //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());