Core/Skills: Fixed spells automatically learned from skill lines adding more skill lines

This commit is contained in:
Shauren committed 2014-07-12 17:27:26 +02:00
1 parent 442a94fc68
commit d91964912e
8 files changed
+106 -102

No files matched your search

+1 -1
View File
@@ -2912,7 +2912,7 @@ class spell_gen_profession_research : public SpellScriptLoader
// learn random explicit discovery recipe (if any)
if (uint32 discoveredSpellId = GetExplicitDiscoverySpell(spellId, caster))
caster->learnSpell(discoveredSpellId, false);
caster->LearnSpell(discoveredSpellId, false);
caster->UpdateCraftSkill(spellId);
}