summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.h
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-21 02:35:05 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-21 02:35:05 +0000
commit40a5bf9e8b1a16569a2d4bbaf446bf1ea412ca43 (patch)
tree52e6df0edce1448236560954257839b279c5ec4e /crawl-ref/source/monstuff.h
parentcc29724d4685eacdc6d5b6f40646a2590366948a (diff)
downloadcrawl-ref-40a5bf9e8b1a16569a2d4bbaf446bf1ea412ca43.tar.gz
crawl-ref-40a5bf9e8b1a16569a2d4bbaf446bf1ea412ca43.zip
When going back to one level from another, make all pacified monsters on
it leave the level. Currently, this happens instantly, although there should probably be a time limit added. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6027 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/monstuff.h')
-rw-r--r--crawl-ref/source/monstuff.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/monstuff.h b/crawl-ref/source/monstuff.h
index fdc4044fe5..2677d8a8da 100644
--- a/crawl-ref/source/monstuff.h
+++ b/crawl-ref/source/monstuff.h
@@ -136,6 +136,8 @@ bool simple_monster_message(const monsters *monster, const char *event,
int param = 0,
description_level_type descrip = DESC_CAP_THE);
+void make_mons_leave_level(monsters *mon);
+
bool choose_any_monster(const monsters* mon);
monsters *choose_random_nearby_monster(
int weight,