diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-20 18:53:40 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-20 18:53:40 +0000 |
commit | f1d9756f8c577019f9446fbf22cec49d41babd28 (patch) | |
tree | f37ea2ea8086aa331978e151e336bb9c77cc97b4 /crawl-ref/source/mapdef.cc | |
parent | 683599a4fa6300d6517c0f75d60c028bd62136cc (diff) | |
download | crawl-ref-f1d9756f8c577019f9446fbf22cec49d41babd28.tar.gz crawl-ref-f1d9756f8c577019f9446fbf22cec49d41babd28.zip |
Spadework for ziggurats and other multilevel portal vaults.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7520 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mapdef.cc')
-rw-r--r-- | crawl-ref/source/mapdef.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/mapdef.cc b/crawl-ref/source/mapdef.cc index fb0b1b6a3a..1203d6d483 100644 --- a/crawl-ref/source/mapdef.cc +++ b/crawl-ref/source/mapdef.cc @@ -2837,8 +2837,10 @@ std::string shuffle_spec::describe() const std::string map_marker_spec::apply_transform(map_lines &map) { std::vector<coord_def> positions = map.find_glyph(key); + + // Markers with no key are not an error. if (positions.empty()) - return make_stringf("cant find key '%c' for marker", key); + return (""); for (int i = 0, size = positions.size(); i < size; ++i) { |