aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Handlers/TraitHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/game/Handlers/TraitHandler.cpp')
-rw-r--r--src/server/game/Handlers/TraitHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Handlers/TraitHandler.cpp b/src/server/game/Handlers/TraitHandler.cpp
index 16882b134c6..1392ecf8ba9 100644
--- a/src/server/game/Handlers/TraitHandler.cpp
+++ b/src/server/game/Handlers/TraitHandler.cpp
@@ -171,7 +171,7 @@ void WorldSession::HandleClassTalentsRequestNewConfig(WorldPackets::Traits::Clas
return index;
};
- classTalentsRequestNewConfig.Config.ChrSpecializationID = _player->GetPrimarySpecialization();
+ classTalentsRequestNewConfig.Config.ChrSpecializationID = AsUnderlyingType(_player->GetPrimarySpecialization());
classTalentsRequestNewConfig.Config.LocalIdentifier = findFreeLocalIdentifier();
for (UF::TraitEntry const& grantedEntry : TraitMgr::GetGrantedTraitEntriesForConfig(classTalentsRequestNewConfig.Config, _player))