diff options
author | Trazom62 <none@none> | 2010-05-05 13:27:17 +0200 |
---|---|---|
committer | Trazom62 <none@none> | 2010-05-05 13:27:17 +0200 |
commit | 0ccadb1a3b96f1a2e35b677cdc0c285cf3f70b7c (patch) | |
tree | 3ababc01f306da8d5f7c5ad1e21737eda20f5c68 | |
parent | 76d4894f472aac4c4b15fe89aeace7bad7f3ca99 (diff) |
Forgot Map.h from previous commit. sorry.
--HG--
branch : trunk
-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; } |