diff options
Diffstat (limited to 'crawl-ref/source/mapmark.cc')
-rw-r--r-- | crawl-ref/source/mapmark.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mapmark.cc b/crawl-ref/source/mapmark.cc index 75ffcab11e..4994b6dc32 100644 --- a/crawl-ref/source/mapmark.cc +++ b/crawl-ref/source/mapmark.cc @@ -696,7 +696,7 @@ std::vector<map_marker*> map_markers::get_all(const std::string &key, map_marker* marker = i->second; const std::string prop = marker->property(key); - if ((val == "" && !prop.empty()) || (val != "" && val == prop)) + if (val.empty() && !prop.empty() || !val.empty() && val == prop) rmarkers.push_back(marker); } |