summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-place.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2010-09-10 16:15:36 +0200
committerRobert Vollmert <rvollmert@gmx.net>2010-09-10 16:16:51 +0200
commitfd080e3fb3f1e9363ee5a0639bfb8ee1312efbe7 (patch)
tree3613568379c6411f3cb1967b06273ccf85474908 /crawl-ref/source/mon-place.h
parentae7e904710d7a55b64a6f142b6ee6f3a409127ef (diff)
downloadcrawl-ref-fd080e3fb3f1e9363ee5a0639bfb8ee1312efbe7.tar.gz
crawl-ref-fd080e3fb3f1e9363ee5a0639bfb8ee1312efbe7.zip
Shadow creatures summons only mobile monsters.
Fixes issues #1789, #2400.
Diffstat (limited to 'crawl-ref/source/mon-place.h')
-rw-r--r--crawl-ref/source/mon-place.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-place.h b/crawl-ref/source/mon-place.h
index 1830bac5b4..04236b0cf7 100644
--- a/crawl-ref/source/mon-place.h
+++ b/crawl-ref/source/mon-place.h
@@ -83,7 +83,8 @@ monster_type pick_random_monster(const level_id &place,
monster_type pick_random_monster(const level_id &place,
int power,
int &lev_mons,
- bool *chose_ood_monster);
+ bool *chose_ood_monster,
+ bool force_mobile = false);
bool player_will_anger_monster(monster_type type, bool *holy = NULL,
bool *unholy = NULL, bool *lawful = NULL,