diff options
author | XTZGZoReX <none@none> | 2010-08-08 05:25:45 +0200 |
---|---|---|
committer | XTZGZoReX <none@none> | 2010-08-08 05:25:45 +0200 |
commit | 9083271a2f29326ae91a3239b972ca63513169f6 (patch) | |
tree | 4b28f5c0c3cb4d447140743bd413402a7c685f8d /src/server/game/Scripting/ScriptMgr.cpp | |
parent | 93fc24ece91443225bbecf9f3cb59658194dcbf3 (diff) |
* Some singleton renames for consistency:
accmgr -> AccountMgr
objmgr -> ObjectMgr
auctionmgr -> sAuctionMgr
spellmgr -> sSpellMgr
CreatureEAI_Mgr -> sEventAIMgr
achievementmgr -> sAchievementMgr
gameeventmgr -> sGameEventMgr
sInstanceSaveManager -> sInstanceSaveMgr
poolhandler -> sPoolMgr
--HG--
branch : trunk
Diffstat (limited to 'src/server/game/Scripting/ScriptMgr.cpp')
-rw-r--r-- | src/server/game/Scripting/ScriptMgr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Scripting/ScriptMgr.cpp b/src/server/game/Scripting/ScriptMgr.cpp index 32fd1c0f24b..dea75f25ff4 100644 --- a/src/server/game/Scripting/ScriptMgr.cpp +++ b/src/server/game/Scripting/ScriptMgr.cpp @@ -289,7 +289,7 @@ void ScriptMgr::FillSpellSummary() void ScriptMgr::CreateSpellScripts(uint32 spell_id, std::list<SpellScript *> & script_vector) { - SpellScriptsBounds bounds = objmgr.GetSpellScriptsBounds(spell_id); + SpellScriptsBounds bounds = sObjectMgr.GetSpellScriptsBounds(spell_id); for (SpellScriptsMap::iterator itr = bounds.first; itr != bounds.second; ++itr) { @@ -311,7 +311,7 @@ void ScriptMgr::CreateSpellScripts(uint32 spell_id, std::list<SpellScript *> & s void ScriptMgr::CreateSpellScripts(uint32 spell_id, std::vector<std::pair<SpellScript *, SpellScriptsMap::iterator> > & script_vector) { - SpellScriptsBounds bounds = objmgr.GetSpellScriptsBounds(spell_id); + SpellScriptsBounds bounds = sObjectMgr.GetSpellScriptsBounds(spell_id); script_vector.reserve(std::distance(bounds.first, bounds.second)); for (SpellScriptsMap::iterator itr = bounds.first; itr != bounds.second; ++itr) |