if there's only one possibility to choose from.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7649 c06c8d41-db1a-0410-9941-cceddc491573
BSU7KFO5UGBSWPF2W7MWUWG42JJZ556H7PQG3BEZOZ53YPPLTZAAC
VTJOYDSSNQZOK23N65C64NUGDTGPL6QZWGCALRQHQDQXAPYBRKMAC
ZVK4J5HTKFNOOIVCI62ZWEYGXEE5TYJ65DLYYZAZWTADFSXE62ZAC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
EJ4GIPFSSQCQASUMRF4CR2WPUQOTEHFRGLOYEZ7BH6YEMIR6DN4QC
int map_count_for_tag(const std::string &tag, bool want_minivault, bool check_depth = false);
int map_count_for_tag(const std::string &tag, bool want_minivault,
bool check_depth = false);
}int map_count_for_tag(const std::string &tag, bool want_minivault, bool check_depth){ return _eligible_maps_for_selector( map_selector::by_tag(tag, want_minivault, check_depth)).size();
}
int map_count_for_tag(const std::string &tag,
bool want_minivault,
bool check_depth)
{
return _eligible_maps_for_selector(
map_selector::by_tag(tag, want_minivault, check_depth)).size();
if (!vault && you.wizard && random_map_for_tag(level_name, false))
if (!vault && you.wizard && map_count_for_tag(level_name, false) > 1)