summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mapmark.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-11-24 21:11:58 +0100
committerAdam Borowski <kilobyte@angband.pl>2012-11-24 21:12:21 +0100
commit4000ad0e330dad4245900649ff827104f0875a21 (patch)
tree5168f70171cc659ded6ceb7737700134ed2292ca /crawl-ref/source/mapmark.cc
parentda16d8c0e20d8c96813196f7d0821a1e5ba68a53 (diff)
downloadcrawl-ref-4000ad0e330dad4245900649ff827104f0875a21.tar.gz
crawl-ref-4000ad0e330dad4245900649ff827104f0875a21.zip
Axe a number of unused functions.
Diffstat (limited to 'crawl-ref/source/mapmark.cc')
-rw-r--r--crawl-ref/source/mapmark.cc15
1 files changed, 0 insertions, 15 deletions
diff --git a/crawl-ref/source/mapmark.cc b/crawl-ref/source/mapmark.cc
index 12d42ea8d0..a577f9368a 100644
--- a/crawl-ref/source/mapmark.cc
+++ b/crawl-ref/source/mapmark.cc
@@ -1052,21 +1052,6 @@ bool marker_vetoes_operation(const char *op)
return env.markers.property_at(you.pos(), MAT_ANY, op) == "veto";
}
-bool feature_marker_at(const coord_def &pos, dungeon_feature_type feat)
-{
- vector<map_marker*> markers = env.markers.get_markers_at(pos);
- for (int i = 0, size = markers.size(); i < size; ++i)
- {
- map_marker *mark = markers[i];
- if (mark->get_type() == MAT_FEATURE
- && dynamic_cast<map_feature_marker*>(mark)->feat == feat)
- {
- return true;
- }
- }
- return false;
-}
-
coord_def find_marker_position_by_prop(const string &prop,
const string &expected)
{