Core: Fix some code style
This commit is contained in:
1 parent
ce42faafd9
commit
6f38fb1011
3 files changed
+4
-4
No files matched your search
@@ -913,7 +913,7 @@ class spell_gen_profession_research : public SpellScriptLoader
|
||||
uint32 spellId = GetSpellInfo()->Id;
|
||||
|
||||
// learn random explicit discovery recipe (if any)
|
||||
if (uint32 discoveredSpellId = GetExplicitDiscoverySpell(spellId, caster->ToPlayer()))
|
||||
if (uint32 discoveredSpellId = GetExplicitDiscoverySpell(spellId, caster))
|
||||
caster->learnSpell(discoveredSpellId, false);
|
||||
|
||||
caster->UpdateCraftSkill(spellId);
|
||||
|
||||
Reference in new issue
Block a user