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/Conditions/DisableMgr.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/Conditions/DisableMgr.cpp')
-rwxr-xr-x | src/server/game/Conditions/DisableMgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Conditions/DisableMgr.cpp b/src/server/game/Conditions/DisableMgr.cpp index 8c2a14cd159..77b8ad85050 100755 --- a/src/server/game/Conditions/DisableMgr.cpp +++ b/src/server/game/Conditions/DisableMgr.cpp @@ -198,7 +198,7 @@ void DisableMgr::CheckQuestDisables() for (DisableTypeMap::iterator itr = m_DisableMap[DISABLE_TYPE_QUEST].begin(); itr != m_DisableMap[DISABLE_TYPE_QUEST].end();) { const uint32 entry = itr->first; - if (!sObjectMgr.GetQuestTemplate(entry)) + if (!sObjectMgr->GetQuestTemplate(entry)) { sLog.outErrorDb("Quest entry %u from `disables` doesn't exist, skipped.", entry); m_DisableMap[DISABLE_TYPE_QUEST].erase(itr++); |