From 0ccadb1a3b96f1a2e35b677cdc0c285cf3f70b7c Mon Sep 17 00:00:00 2001 From: Trazom62 Date: Wed, 5 May 2010 13:27:17 +0200 Subject: Forgot Map.h from previous commit. sorry. --HG-- branch : trunk --- src/game/Map.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/game/Map.h b/src/game/Map.h index ef1fcf53dd2..9e7fa49f066 100644 --- a/src/game/Map.h +++ b/src/game/Map.h @@ -360,6 +360,7 @@ class Map : public GridRefManager, public Trinity::ObjectLevelLockabl bool Instanceable() const { return i_mapEntry && i_mapEntry->Instanceable(); } // NOTE: this duplicate of Instanceable(), but Instanceable() can be changed when BG also will be instanceable bool IsDungeon() const { return i_mapEntry && i_mapEntry->IsDungeon(); } + bool IsNonRaidDungeon() const { return i_mapEntry && i_mapEntry->IsNonRaidDungeon(); } bool IsRaid() const { return i_mapEntry && i_mapEntry->IsRaid(); } bool IsRaidOrHeroicDungeon() const { return IsRaid() || i_spawnMode > DUNGEON_DIFFICULTY_NORMAL; } bool IsHeroic() const { return IsRaid() ? i_spawnMode >= RAID_DIFFICULTY_10MAN_HEROIC : i_spawnMode >= DUNGEON_DIFFICULTY_HEROIC; } -- cgit v1.2.3