diff options
author | elliptic <hyperelliptical@gmail.com> | 2011-11-26 20:48:18 -0500 |
---|---|---|
committer | elliptic <hyperelliptical@gmail.com> | 2011-11-26 20:53:11 -0500 |
commit | 4cde183eca711078bdf6e2d9a0ec6ff6275875d5 (patch) | |
tree | 67228f868833c0d6e98806e3af2bca555b07478c /crawl-ref/source/attack.h | |
parent | e16992fe3cd2c6fa2cd2a6b3c8055d16be858de5 (diff) | |
download | crawl-ref-4cde183eca711078bdf6e2d9a0ec6ff6275875d5.tar.gz crawl-ref-4cde183eca711078bdf6e2d9a0ec6ff6275875d5.zip |
Clean up aux code a bit.
Passing allow_unarmed around everywhere wasn't actually doing anything, and
can_do_unarmed was misleading.
Diffstat (limited to 'crawl-ref/source/attack.h')
-rw-r--r-- | crawl-ref/source/attack.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/attack.h b/crawl-ref/source/attack.h index 7dac3b4d09..6f265c0cc2 100644 --- a/crawl-ref/source/attack.h +++ b/crawl-ref/source/attack.h @@ -84,7 +84,7 @@ public: // Public Methods public: - attack(actor *attk, actor *defn, bool allow_unarmed); + attack(actor *attk, actor *defn); // To-hit is a function of attacker/defender, defined in sub-classes virtual int calc_to_hit(bool) = 0; |