diff options
author | Raphael Langella <raphael.langella@gmail.com> | 2012-07-02 17:24:02 +0200 |
---|---|---|
committer | Raphael Langella <raphael.langella@gmail.com> | 2012-07-04 18:04:09 +0200 |
commit | 6d6c5ac847e4f5efbc1e6de79aa5641bcaf69dad (patch) | |
tree | 597b00fe92a7f4087cb24bb4c4d2c3d8eccdb37c /crawl-ref/source/mon-act.h | |
parent | 87c40161cad6ace4f6c2abbc0a8e9696df75ac30 (diff) | |
download | crawl-ref-6d6c5ac847e4f5efbc1e6de79aa5641bcaf69dad.tar.gz crawl-ref-6d6c5ac847e4f5efbc1e6de79aa5641bcaf69dad.zip |
Move handle_noattack_constrictions to actor.cc
Since it works for both monster and player. And rename it handle_constriction.
Also remove has_constricted_this_turn it's simpler to just deal damage at
the end of the turn.
Diffstat (limited to 'crawl-ref/source/mon-act.h')
-rw-r--r-- | crawl-ref/source/mon-act.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-act.h b/crawl-ref/source/mon-act.h index 5002eb5b87..510943bc57 100644 --- a/crawl-ref/source/mon-act.h +++ b/crawl-ref/source/mon-act.h @@ -10,7 +10,6 @@ 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); |