mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
barber shop race/gender checks, fly check for map 571
This commit is contained in:
parent
56c8d2549c
commit
c0c0c9c776
8 changed files with 158 additions and 138 deletions
|
|
@ -203,7 +203,7 @@ void LoadDBCStores(std::string dataPath)
|
|||
sAreaFlagByAreaID.insert(AreaFlagByAreaID::value_type(uint16(area->ID),area->exploreFlag));
|
||||
|
||||
// fill MapId->DBC records ( skip sub zones and continents )
|
||||
if(area->zone==0 && area->mapid != 0 && area->mapid != 1 && area->mapid != 530 )
|
||||
if(area->zone==0 && area->mapid != 0 && area->mapid != 1 && area->mapid != 530 && area->mapid != 571 )
|
||||
sAreaFlagByMapID.insert(AreaFlagByMapID::value_type(area->mapid,area->exploreFlag));
|
||||
}
|
||||
}
|
||||
|
|
@ -546,7 +546,7 @@ uint32 GetAreaFlagByMapId(uint32 mapid)
|
|||
|
||||
uint32 GetVirtualMapForMapAndZone(uint32 mapid, uint32 zoneId)
|
||||
{
|
||||
if(mapid != 530) // speed for most cases
|
||||
if(mapid != 530 || mapid != 571) // speed for most cases
|
||||
return mapid;
|
||||
|
||||
if(WorldMapAreaEntry const* wma = sWorldMapAreaStore.LookupEntry(zoneId))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue