summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-act.h
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2011-12-27 15:59:42 -0500
committerNeil Moore <neil@s-z.org>2011-12-27 15:59:42 -0500
commit5ac1dfcd60e1276eaaaecdc1ae1aac3e07cde499 (patch)
tree00f69c4d3abbc220c3e31955e02bd4afc6159188 /crawl-ref/source/mon-act.h
parent381e6db9b36a87a61f6e264bfe6bf737ada7df98 (diff)
downloadcrawl-ref-5ac1dfcd60e1276eaaaecdc1ae1aac3e07cde499.tar.gz
crawl-ref-5ac1dfcd60e1276eaaaecdc1ae1aac3e07cde499.zip
Merge player/monster noattack constriction code.
Also, properly attribute constriction kills by confused monsters; and fix a warning when compiling without diagnostics.
Diffstat (limited to 'crawl-ref/source/mon-act.h')
-rw-r--r--crawl-ref/source/mon-act.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-act.h b/crawl-ref/source/mon-act.h
index 510943bc57..5002eb5b87 100644
--- a/crawl-ref/source/mon-act.h
+++ b/crawl-ref/source/mon-act.h
@@ -10,6 +10,7 @@ bool mon_can_move_to_pos(const monster* mons, const coord_def& delta,
bool just_check = false);
bool mons_can_move_towards_target(const monster* mon);
+void handle_noattack_constrictions(actor *attacker);
void handle_monsters(bool with_noise = false);
void handle_monster_move(monster* mon);