diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-17 22:48:28 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-17 22:48:28 +0000 |
commit | 94d956b872a116e4523fc73fec1a0420c33615ee (patch) | |
tree | 7ff7cbe53a05b5020f47535d4e36e6139c07338f /crawl-ref/source/monstuff.h | |
parent | 00c8183d4970b86b8007f69197eb08b9bc0edafc (diff) | |
download | crawl-ref-94d956b872a116e4523fc73fec1a0420c33615ee.tar.gz crawl-ref-94d956b872a116e4523fc73fec1a0420c33615ee.zip |
Implement [2535038]: monsters now have a chance of shouting whenever
they are woken up, unless it's by a successful stab. (The previous
behaviour made them shout only when they were woken up by the player
walking around.)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9121 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/monstuff.h')
-rw-r--r-- | crawl-ref/source/monstuff.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/monstuff.h b/crawl-ref/source/monstuff.h index 128b9d1f02..42ad3d480c 100644 --- a/crawl-ref/source/monstuff.h +++ b/crawl-ref/source/monstuff.h @@ -106,7 +106,8 @@ void monster_cleanup(monsters *monster); void behaviour_event(monsters *mon, mon_event_type event_type, - int src = MHITNOT, coord_def src_pos = coord_def()); + int src = MHITNOT, coord_def src_pos = coord_def(), + bool allow_shout = true); bool curse_an_item(bool decay_potions, bool quiet = false); |