Core: Fix some code style

This commit is contained in:
Vincent-Michael committed 2012-09-07 02:21:38 +02:00
1 parent ce42faafd9
commit 6f38fb1011
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -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);