diff options
author | Adam Borowski <kilobyte@angband.pl> | 2011-10-09 17:47:31 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2011-10-09 17:57:38 +0200 |
commit | e7a410cc434b53dc0e57774a1e0f2954a7999edf (patch) | |
tree | e32d085791f5f769ffce86e7cd7af89a40c06437 /crawl-ref/source/map_knowledge.cc | |
parent | 3aa9bb7204140929e5f2381f11e95b034137cf71 (diff) | |
download | crawl-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/map_knowledge.cc')
-rw-r--r-- | crawl-ref/source/map_knowledge.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/crawl-ref/source/map_knowledge.cc b/crawl-ref/source/map_knowledge.cc index ca44f16d19..f62833f42b 100644 --- a/crawl-ref/source/map_knowledge.cc +++ b/crawl-ref/source/map_knowledge.cc @@ -134,9 +134,7 @@ void set_terrain_seen(int x, int y) map_cell* cell = &env.map_knowledge[x][y]; // First time we've seen a notable feature. - // In unmappable areas, this doesn't work since - // map knowledge gets wiped each turn. - if (!(cell->flags & MAP_SEEN_FLAG) && player_in_mappable_area()) + if (!(cell->flags & MAP_SEEN_FLAG)) { _automap_from(x, y, _map_quality()); |