summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mapdef.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-06 21:30:10 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-06 21:30:10 +0000
commit6d1f582d1c99f6149148c0e40fc08b272b46cec9 (patch)
treecd8be198476e7dbb4b7b25fc1c76aec5398c3732 /crawl-ref/source/mapdef.cc
parent43ba2b6c8036fb9c61e7f46a1d2ca20a27355696 (diff)
downloadcrawl-ref-6d1f582d1c99f6149148c0e40fc08b272b46cec9.tar.gz
crawl-ref-6d1f582d1c99f6149148c0e40fc08b272b46cec9.zip
Assume KFEAT: ? = floor if we've seen a KITEM: or KMONS: for the same glyph.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2346 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mapdef.cc')
-rw-r--r--crawl-ref/source/mapdef.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mapdef.cc b/crawl-ref/source/mapdef.cc
index dd7f42e00b..8dadc81c8f 100644
--- a/crawl-ref/source/mapdef.cc
+++ b/crawl-ref/source/mapdef.cc
@@ -2697,7 +2697,7 @@ std::string keyed_mapspec::set_mask(const std::string &s, bool garbage)
feature_spec keyed_mapspec::get_feat()
{
- return feat.get_feat(key_glyph);
+ return feat.get_feat('.');
}
mons_list &keyed_mapspec::get_monsters()