Core/MMaps: Only unload the navMeshQuery when instances are unloaded, suggestion by @Vlad852

closes #7631
This commit is contained in:
Subv
2012-09-25 12:37:25 -05:00
parent 33994351ff
commit bb6ce2b2c9

View File

@@ -72,7 +72,6 @@ Map::~Map()
sScriptMgr->DecreaseScheduledScriptCount(m_scriptSchedule.size());
MMAP::MMapFactory::createOrGetMMapManager()->unloadMapInstance(GetId(), i_InstanceId);
MMAP::MMapFactory::createOrGetMMapManager()->unloadMap(GetId());
}
bool Map::ExistMap(uint32 mapid, int gx, int gy)