diff options
author | Neil Moore <neil@s-z.org> | 2014-01-03 15:03:33 -0500 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2014-01-03 15:05:30 -0500 |
commit | d40e86072164e174fcafed250acaa3a002925764 (patch) | |
tree | 5576629854a2b21168c8998d985fb9350c810bfc /crawl-ref/source/viewmap.cc | |
parent | 7239af937a86df7f1e7307581eff8e13b2017e8f (diff) | |
download | crawl-ref-d40e86072164e174fcafed250acaa3a002925764.tar.gz crawl-ref-d40e86072164e174fcafed250acaa3a002925764.zip |
Allow X\ and X_ to find unknown portals/altars.
Useful, for example, after using magic mapping.
Diffstat (limited to 'crawl-ref/source/viewmap.cc')
-rw-r--r-- | crawl-ref/source/viewmap.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/viewmap.cc b/crawl-ref/source/viewmap.cc index fbe418ef0a..2ad0c26f84 100644 --- a/crawl-ref/source/viewmap.cc +++ b/crawl-ref/source/viewmap.cc @@ -157,10 +157,11 @@ bool is_feature(ucs_t feature, const coord_def& where) case 'I': return is_stash(where); case '_': - return feat_is_altar(grid); + return feat_is_altar(grid) || grid == DNGN_UNKNOWN_ALTAR; case '\t': case '\\': - return feat_is_gate(grid) || grid == DNGN_ENTER_SHOP; + return feat_is_gate(grid) || grid == DNGN_ENTER_SHOP + || grid == DNGN_UNKNOWN_PORTAL; case '<': switch (grid) { |