summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilereg-map.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-10-09 17:47:31 +0200
committerAdam Borowski <kilobyte@angband.pl>2011-10-09 17:57:38 +0200
commite7a410cc434b53dc0e57774a1e0f2954a7999edf (patch)
treee32d085791f5f769ffce86e7cd7af89a40c06437 /crawl-ref/source/tilereg-map.cc
parent3aa9bb7204140929e5f2381f11e95b034137cf71 (diff)
downloadcrawl-ref-e7a410cc434b53dc0e57774a1e0f2954a7999edf.tar.gz
crawl-ref-e7a410cc434b53dc0e57774a1e0f2954a7999edf.zip
Remove unused level flags, forbid exclusions in Abyss and Lab.
Old unmappable levels are gone for good, and good riddance. Thus, player_in_mappable_area() is obsolete; I removed it and stolen the name for "Lab or Abyss" check, done inconsistently in several places. Also, exclusions there were problematic -- I removed them for now, please change this back if you can fix them.
Diffstat (limited to 'crawl-ref/source/tilereg-map.cc')
-rw-r--r--crawl-ref/source/tilereg-map.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/crawl-ref/source/tilereg-map.cc b/crawl-ref/source/tilereg-map.cc
index 0a1271d7ba..ad3e377224 100644
--- a/crawl-ref/source/tilereg-map.cc
+++ b/crawl-ref/source/tilereg-map.cc
@@ -306,9 +306,6 @@ bool MapRegion::update_tip_text(std::string& tip)
if (mouse_control::current_mode() != MOUSE_MODE_COMMAND)
return (false);
- if (!player_in_mappable_area())
- return (false);
-
tip = "[L-Click] Travel / [R-Click] View";
if (you.level_type != LEVEL_LABYRINTH
&& (you.hunger_state > HS_STARVING || you_min_hunger())