From 6f0c3469a63c97eef57f36f1a39fed0b281b7cc9 Mon Sep 17 00:00:00 2001 From: w12x Date: Sun, 5 Oct 2008 08:48:32 -0500 Subject: [svn] -enabled instantiated battlegrounds -enabled arena matches -rewritten battleground queuing to support joining as group -removed queue announcements --HG-- branch : trunk --- src/shared/Database/DBCStructure.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/shared/Database/DBCStructure.h') diff --git a/src/shared/Database/DBCStructure.h b/src/shared/Database/DBCStructure.h index b01268d2ed4..307dcb0655b 100644 --- a/src/shared/Database/DBCStructure.h +++ b/src/shared/Database/DBCStructure.h @@ -471,9 +471,10 @@ struct MapEntry // Helpers bool IsExpansionMap() const { return addon != 0; } - bool Instanceable() const { return map_type == MAP_INSTANCE || map_type == MAP_RAID; } - // NOTE: this duplicate of Instanceable(), but Instanceable() can be changed when BG also will be instanceable + + bool IsDungeon() const { return map_type == MAP_INSTANCE || map_type == MAP_RAID; } + bool Instanceable() const { return map_type == MAP_INSTANCE || map_type == MAP_RAID || map_type == MAP_BATTLEGROUND || map_type == MAP_ARENA; } bool IsRaid() const { return map_type == MAP_RAID; } bool IsBattleGround() const { return map_type == MAP_BATTLEGROUND; } bool IsBattleArena() const { return map_type == MAP_ARENA; } -- cgit v1.2.3