Core/Game: Move scheduled map scripts counter methods into MapManager

* Since those have nothing to do with core scripts and are
  not wished inside the ScriptMgr
This commit is contained in:
Naios
2016-04-02 22:37:51 +02:00
parent 26dcde94b3
commit 59e3cf82ac
8 changed files with 21 additions and 22 deletions

View File

@@ -38,10 +38,10 @@
#include "MiscPackets.h"
MapManager::MapManager()
: _nextInstanceId(0), _scheduledScripts(0)
{
i_gridCleanUpDelay = sWorld->getIntConfig(CONFIG_INTERVAL_GRIDCLEAN);
i_timer.SetInterval(sWorld->getIntConfig(CONFIG_INTERVAL_MAPUPDATE));
_nextInstanceId = 0;
}
MapManager::~MapManager() { }