diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2010-09-12 17:55:53 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2010-09-12 17:56:38 +0200 |
commit | ce0bcc04d02cae3e056953cf2c2b2446183e9ff1 (patch) | |
tree | a8170263908750ed602f14a4b30f9974b8a2f3d9 /crawl-ref/source/mon-behv.h | |
parent | abb79152bfdc57fdd28718929614ab4b1d61283f (diff) | |
download | crawl-ref-ce0bcc04d02cae3e056953cf2c2b2446183e9ff1.tar.gz crawl-ref-ce0bcc04d02cae3e056953cf2c2b2446183e9ff1.zip |
Clean up and fix monster cloud handling.
Submerging now generally avoids damage from clouds, not just if the
monster doesn't care.
Cloud avoiding submergers don't cut short the monster action loop, so
they don't build up a big energy pool. (#2199)
Diffstat (limited to 'crawl-ref/source/mon-behv.h')
-rw-r--r-- | crawl-ref/source/mon-behv.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/crawl-ref/source/mon-behv.h b/crawl-ref/source/mon-behv.h index 53dd8aec32..e654d081db 100644 --- a/crawl-ref/source/mon-behv.h +++ b/crawl-ref/source/mon-behv.h @@ -39,12 +39,4 @@ void make_mons_leave_level(monster* mon); bool monster_can_hit_monster(monster* mons, const monster* targ); -bool mons_avoids_cloud(const monster* mons, cloud_type cl_type, - bool placement = false); - -// Like the above, but allow a monster to move from one damaging cloud -// to another. -bool mons_avoids_cloud(const monster* mons, int cloud_num, - cloud_type *cl_type = NULL, bool placement = false); - #endif |