From 58b28498325bbe63b85c37caa0d80357f87273a8 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Fri, 9 Jan 2009 22:21:30 +0000 Subject: Deactivate the minimap in labyrinths since it gave away information about placement on the map and also looked a bit odd. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8365 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/tile2.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'crawl-ref/source/tile2.cc') 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; -- cgit v1.2.3-54-g00ecf