From 9083271a2f29326ae91a3239b972ca63513169f6 Mon Sep 17 00:00:00 2001 From: XTZGZoReX Date: Sun, 8 Aug 2010 05:25:45 +0200 Subject: * 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 --- src/server/game/Scripting/ScriptMgr.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/server/game/Scripting/ScriptMgr.cpp') 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 & 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 & s void ScriptMgr::CreateSpellScripts(uint32 spell_id, std::vector > & 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) -- cgit v1.2.3