summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tile2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/tile2.cc')
-rw-r--r--crawl-ref/source/tile2.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/tile2.cc b/crawl-ref/source/tile2.cc
index dc6eb07898..a4f5386eff 100644
--- a/crawl-ref/source/tile2.cc
+++ b/crawl-ref/source/tile2.cc
@@ -29,6 +29,13 @@ REVISION("$Rev$");
#include "tiles.h"
#include "transfor.h"
+// In a labyrinth, don't display the minimap.
+bool player_in_mini_mappable_area()
+{
+ return (player_in_mappable_area()
+ && you.level_type != LEVEL_LABYRINTH);
+}
+
void tile_default_flv(level_area_type lev, branch_type br, tile_flavour &flv)
{
flv.wall = TILE_WALL_NORMAL;