From da52c8d54ec341cc55f963fe0397fcc5e98b06e9 Mon Sep 17 00:00:00 2001 From: Intel Date: Wed, 12 Nov 2014 03:58:17 +0200 Subject: Core/Talents: Fixed SMSG_TALENTS_INFO packet Fixed talents saving to DB Renamed 'talent spec' to 'talent group' since this name was shadowing character specializations (and new name is correct according to JAM) Enabled loading of MinorTalent.dbc (will be used later) Added additional specialization check in LearnTalent --- src/server/scripts/Spells/spell_druid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/scripts/Spells') diff --git a/src/server/scripts/Spells/spell_druid.cpp b/src/server/scripts/Spells/spell_druid.cpp index ed0709c6ad9..184e12cdccb 100644 --- a/src/server/scripts/Spells/spell_druid.cpp +++ b/src/server/scripts/Spells/spell_druid.cpp @@ -168,7 +168,7 @@ class spell_dru_eclipse_energize : public SpellScriptLoader Player* caster = GetCaster()->ToPlayer(); // No boomy, no deal. - if (caster->GetTalentSpec(caster->GetActiveSpec()) != TALENT_SPEC_DRUID_BALANCE) + if (caster->GetActiveTalentSpec() != TALENT_SPEC_DRUID_BALANCE) return; switch (GetSpellInfo()->Id) -- cgit v1.2.3