Core/Misc: move scheduled scripts counter to ScriptMgr (which is more logical, isn't it?)

This commit is contained in:
zergtmn authored and Azazel committed 2011-04-13 12:07:20 +06:00
1 parent e196dd80bd
commit 1551b8a011
9 files changed
+34 -33

No files matched your search

+1 -1
View File
@@ -53,7 +53,7 @@ Map::~Map()
}
if (!m_scriptSchedule.empty())
sWorld->DecreaseScheduledScriptCount(m_scriptSchedule.size());
sScriptMgr->DecreaseScheduledScriptCount(m_scriptSchedule.size());
}
bool Map::ExistMap(uint32 mapid,int gx,int gy)