diff options
-rw-r--r-- | src/game/Map.h | 1 |
1 files changed, 1 insertions, 0 deletions
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<NGridType>, 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; } |