summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mapdef.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-05-10 11:59:37 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-05-10 11:59:37 +0000
commita4ac31b1514c2eb7066379e79bfdd5985a7ddecb (patch)
tree22defa8f8c1ce38b45361fe8afc59f08588917de /crawl-ref/source/mapdef.cc
parentdc456cfe8e4b7e096cd5261817e6d0d36f233e85 (diff)
downloadcrawl-ref-a4ac31b1514c2eb7066379e79bfdd5985a7ddecb.tar.gz
crawl-ref-a4ac31b1514c2eb7066379e79bfdd5985a7ddecb.zip
Updated level-design.txt.
Added spacing for another minivault, updated depths. Tweaked KMONS: to allow alternate monsters to be placed if a requested unique is unavailable. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1445 c06c8d41-db1a-0410-9941-cceddc491573
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()