diff options
Diffstat (limited to 'crawl-ref/source/mapdef.cc')
-rw-r--r-- | crawl-ref/source/mapdef.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/mapdef.cc b/crawl-ref/source/mapdef.cc index 0882e6fc6d..4e9247e553 100644 --- a/crawl-ref/source/mapdef.cc +++ b/crawl-ref/source/mapdef.cc @@ -3029,6 +3029,10 @@ mons_list::mons_spec_slot mons_list::parse_mons_spec(std::string spec) mspec.patrolling = strip_tag(mon_str, "patrolling"); mspec.band = strip_tag(mon_str, "band"); + // Useful for summoned monsters. + if (strip_tag(mon_str, "seen")) + mspec.extra_monster_flags |= MF_SEEN; + if (!mon_str.empty() && isdigit(mon_str[0])) { // Look for space after initial digits. |