diff --git a/src/game/Maps/Map.h b/src/game/Maps/Map.h index 6daae07bf5..deb3172daf 100644 --- a/src/game/Maps/Map.h +++ b/src/game/Maps/Map.h @@ -414,6 +414,7 @@ class Map : public GridRefManager std::set m_objRemoveList; // this will eventually eat up too much memory - only used for debugging VisibleNotifier::Notify() customlog leak bool HasActiveAreas(ContinentArea areaId = MAP_NO_AREA) { if (areaId == MAP_NO_AREA) { return !m_activeAreas.empty(); } else { return !(find(m_activeAreas.begin(), m_activeAreas.end(), areaId) == m_activeAreas.end()); } } + bool HasActiveZones() { return !m_activeZones.empty(); } bool HasActiveZone(uint32 zoneId) { return find(m_activeZones.begin(), m_activeZones.end(), zoneId) != m_activeZones.end(); } //Start Solocraft Functions