mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-02 10:33:46 +00:00
committed by
GitHub
parent
e60b953a7a
commit
5474b00a3d
@@ -942,16 +942,8 @@ namespace MMAP
|
|||||||
return static_cast<uint32>(m_mapid) != mapID;
|
return static_cast<uint32>(m_mapid) != mapID;
|
||||||
|
|
||||||
if (m_skipContinents)
|
if (m_skipContinents)
|
||||||
switch (mapID)
|
if (isContinentMap(mapID))
|
||||||
{
|
return true;
|
||||||
case 0:
|
|
||||||
case 1:
|
|
||||||
case 530:
|
|
||||||
case 571:
|
|
||||||
return true;
|
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (m_skipJunkMaps)
|
if (m_skipJunkMaps)
|
||||||
switch (mapID)
|
switch (mapID)
|
||||||
@@ -1031,6 +1023,20 @@ namespace MMAP
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool MapBuilder::isContinentMap(uint32 mapID) const
|
||||||
|
{
|
||||||
|
switch (mapID)
|
||||||
|
{
|
||||||
|
case 0:
|
||||||
|
case 1:
|
||||||
|
case 530:
|
||||||
|
case 571:
|
||||||
|
return true;
|
||||||
|
default:
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
bool TileBuilder::shouldSkipTile(uint32 mapID, uint32 tileX, uint32 tileY) const
|
bool TileBuilder::shouldSkipTile(uint32 mapID, uint32 tileX, uint32 tileY) const
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -185,6 +185,7 @@ namespace MMAP
|
|||||||
|
|
||||||
bool shouldSkipMap(uint32 mapID) const;
|
bool shouldSkipMap(uint32 mapID) const;
|
||||||
bool isTransportMap(uint32 mapID) const;
|
bool isTransportMap(uint32 mapID) const;
|
||||||
|
bool isContinentMap(uint32 mapID) const;
|
||||||
|
|
||||||
rcConfig GetMapSpecificConfig(uint32 mapID, float bmin[3], float bmax[3], const TileConfig &tileConfig) const;
|
rcConfig GetMapSpecificConfig(uint32 mapID, float bmin[3], float bmax[3], const TileConfig &tileConfig) const;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user