summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monplace.h
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-14 17:34:00 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-14 17:34:00 +0000
commit4e028d4b0ebe09111ae1c9950387ca176da9bbf2 (patch)
tree886d8c1d15725df4cab612ca461d8dc23f517107 /crawl-ref/source/monplace.h
parent37f42fc40f9827f4a2b6bee0705623944f969637 (diff)
downloadcrawl-ref-4e028d4b0ebe09111ae1c9950387ca176da9bbf2.tar.gz
crawl-ref-4e028d4b0ebe09111ae1c9950387ca176da9bbf2.zip
Make mgen_data::sleeper_at() actually use its flags parameter.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5815 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/monplace.h')
-rw-r--r--crawl-ref/source/monplace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/monplace.h b/crawl-ref/source/monplace.h
index 01ff447b22..dcb1b28f3e 100644
--- a/crawl-ref/source/monplace.h
+++ b/crawl-ref/source/monplace.h
@@ -212,7 +212,7 @@ struct mgen_data
const coord_def &where,
unsigned flags = 0)
{
- return mgen_data(what, BEH_SLEEP, 0, where);
+ return mgen_data(what, BEH_SLEEP, 0, where, 0, flags);
}
static mgen_data hostile_at(monster_type what,