summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monplace.h
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-14 17:40:56 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-14 17:40:56 +0000
commita88acc05c60f76f0ae700f3a5f43c7cbd644758b (patch)
tree3b224855bda6134baddb5e433328b278a61b8d44 /crawl-ref/source/monplace.h
parent4e028d4b0ebe09111ae1c9950387ca176da9bbf2 (diff)
downloadcrawl-ref-a88acc05c60f76f0ae700f3a5f43c7cbd644758b.tar.gz
crawl-ref-a88acc05c60f76f0ae700f3a5f43c7cbd644758b.zip
And use the proper target for mgen_data::sleeper_at().
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5816 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 dcb1b28f3e..f0898245a2 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, 0, flags);
+ return mgen_data(what, BEH_SLEEP, 0, where, MHITNOT, flags);
}
static mgen_data hostile_at(monster_type what,