summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mapdef.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/mapdef.cc')
-rw-r--r--crawl-ref/source/mapdef.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/mapdef.cc b/crawl-ref/source/mapdef.cc
index 2420d3ba9e..67a4257f47 100644
--- a/crawl-ref/source/mapdef.cc
+++ b/crawl-ref/source/mapdef.cc
@@ -1531,9 +1531,9 @@ feature_spec keyed_mapspec::get_feat()
return feat.get_feat(key_glyph);
}
-mons_spec keyed_mapspec::get_mons()
+mons_list &keyed_mapspec::get_monsters()
{
- return (mons.size()? mons.get_monster(0) : mons_spec(-1));
+ return (mons);
}
item_list &keyed_mapspec::get_items()