Core: Get rid of dirty operator workaround for ACE_Singleton class implementation
--HG-- branch : trunk
This commit is contained in:
1 parent
0948fc5bbe
commit
0f3b9019a8
159 files changed
+1943
-1939
No files matched your search
@@ -110,7 +110,7 @@ public:
|
||||
else
|
||||
targetPlayer->learnSpell(spell, false);
|
||||
|
||||
uint32 first_spell = sSpellMgr.GetFirstSpellInChain(spell);
|
||||
uint32 first_spell = sSpellMgr->GetFirstSpellInChain(spell);
|
||||
if (GetTalentSpellCost(first_spell))
|
||||
targetPlayer->SendTalentsInfoData(false);
|
||||
|
||||
@@ -814,7 +814,7 @@ public:
|
||||
continue;
|
||||
|
||||
// skip spells with first rank learned as talent (and all talents then also)
|
||||
uint32 first_rank = sSpellMgr.GetFirstSpellInChain(spellInfo->Id);
|
||||
uint32 first_rank = sSpellMgr->GetFirstSpellInChain(spellInfo->Id);
|
||||
if (GetTalentSpellCost(first_rank) > 0)
|
||||
continue;
|
||||
|
||||
|
||||
Reference in new issue
Block a user