diff options
author | Shauren <none@none> | 2010-12-22 21:25:23 +0100 |
---|---|---|
committer | Shauren <none@none> | 2010-12-22 21:25:23 +0100 |
commit | 0f3b9019a88777bef8383e699d27a7e8615f93f2 (patch) | |
tree | b88e120ad46050aa073ee451676801aabbd3eaa1 /src/server/game/Skills/SkillDiscovery.cpp | |
parent | 0948fc5bbed08ae6edee4fa1ff86df5cfbffa996 (diff) |
Core: Get rid of dirty operator workaround for ACE_Singleton class implementation
--HG--
branch : trunk
Diffstat (limited to 'src/server/game/Skills/SkillDiscovery.cpp')
-rwxr-xr-x | src/server/game/Skills/SkillDiscovery.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Skills/SkillDiscovery.cpp b/src/server/game/Skills/SkillDiscovery.cpp index 8a9b548d64a..139393bcc15 100755 --- a/src/server/game/Skills/SkillDiscovery.cpp +++ b/src/server/game/Skills/SkillDiscovery.cpp @@ -112,7 +112,7 @@ void LoadSkillDiscoveryTable() } else if (reqSkillOrSpell == 0) // skill case { - SkillLineAbilityMapBounds bounds = sSpellMgr.GetSkillLineAbilityMapBounds(spellId); + SkillLineAbilityMapBounds bounds = sSpellMgr->GetSkillLineAbilityMapBounds(spellId); if (bounds.first == bounds.second) { @@ -162,7 +162,7 @@ uint32 GetExplicitDiscoverySpell(uint32 spellId, Player* player) if (tab == SkillDiscoveryStore.end()) return 0; - SkillLineAbilityMapBounds bounds = sSpellMgr.GetSkillLineAbilityMapBounds(spellId); + SkillLineAbilityMapBounds bounds = sSpellMgr->GetSkillLineAbilityMapBounds(spellId); uint32 skillvalue = bounds.first != bounds.second ? player->GetSkillValue(bounds.first->second->skillId) : 0; float full_chance = 0; |