Core/Scripting: Allow the use of WorldMapScript for maps that are not continents (aka, all maps)
Closes #171 Signed-off-by: Subv <[email protected]>
This commit is contained in:
@@ -1292,6 +1292,7 @@ struct MapEntry
|
||||
bool IsBattleground() const { return map_type == MAP_BATTLEGROUND; }
|
||||
bool IsBattleArena() const { return map_type == MAP_ARENA; }
|
||||
bool IsBattlegroundOrArena() const { return map_type == MAP_BATTLEGROUND || map_type == MAP_ARENA; }
|
||||
bool IsWorldMap() const { return map_type == MAP_COMMON; }
|
||||
|
||||
bool GetEntrancePos(int32 &mapid, float &x, float &y) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user