diff options
author | Robert Burnham <burnhamrobertp@gmail.com> | 2011-04-12 07:04:02 -0500 |
---|---|---|
committer | Robert Burnham <burnhamrobertp@gmail.com> | 2011-04-12 07:04:02 -0500 |
commit | de7551ba1bba09787f8bb56507b47b93aa361ba0 (patch) | |
tree | de45bf4e81e12630f92c7420269268b39a74a3da /crawl-ref/source/fight.h | |
parent | 3053a05a07f51f8cfa588769c79f4b673bfbc39a (diff) | |
download | crawl-ref-de7551ba1bba09787f8bb56507b47b93aa361ba0.tar.gz crawl-ref-de7551ba1bba09787f8bb56507b47b93aa361ba0.zip |
Remove sparsely used wrapper method
In addition to monster_attack (MvP) and monsters_fight (MvM), there was a
monster_attack_actor which was either (MvP OR MvM) and was only used for in
the _handle_reaching method of mons-act.cc.
Diffstat (limited to 'crawl-ref/source/fight.h')
-rw-r--r-- | crawl-ref/source/fight.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/crawl-ref/source/fight.h b/crawl-ref/source/fight.h index eebf69ca83..fa321230f3 100644 --- a/crawl-ref/source/fight.h +++ b/crawl-ref/source/fight.h @@ -35,8 +35,6 @@ int resist_adjust_damage(actor *defender, beam_type flavour, int weapon_str_weight(object_class_type wpn_class, int wpn_type); bool you_attack(int monster_attacked, bool unarmed_attacks); -bool monster_attack_actor(monster* attacker, actor *defender, - bool allow_unarmed); bool monster_attack(monster* attacker, bool allow_unarmed = true); bool monsters_fight(monster* attacker, monster* attacked, bool allow_unarmed = true); |