diff options
author | Steve Melenchuk <smelenchuk@gmail.com> | 2014-05-19 19:04:33 -0600 |
---|---|---|
committer | Steve Melenchuk <smelenchuk@gmail.com> | 2014-05-19 19:05:32 -0600 |
commit | 9adecd859516e7dd6d47abb15f723815c243b202 (patch) | |
tree | 84d9fc611319b43129c15a85b3098f8f0db4c0f8 /crawl-ref/source/ranged_attack.cc | |
parent | 5fe76d3cc2661878707d6662d263cdcb36240987 (diff) | |
download | crawl-ref-9adecd859516e7dd6d47abb15f723815c243b202.tar.gz crawl-ref-9adecd859516e7dd6d47abb15f723815c243b202.zip |
Condense three functions into one.
Diffstat (limited to 'crawl-ref/source/ranged_attack.cc')
-rw-r--r-- | crawl-ref/source/ranged_attack.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/ranged_attack.cc b/crawl-ref/source/ranged_attack.cc index 06b46c6eb0..33a0c118fa 100644 --- a/crawl-ref/source/ranged_attack.cc +++ b/crawl-ref/source/ranged_attack.cc @@ -240,7 +240,7 @@ bool ranged_attack::handle_phase_dodged() defender->conj_verb("phase").c_str(), projectile->name(DESC_THE).c_str(), defender->pronoun(PRONOUN_OBJECTIVE).c_str(), - attack_strength_punctuation().c_str()); + attack_strength_punctuation(damage_done).c_str()); } return true; @@ -252,7 +252,7 @@ bool ranged_attack::handle_phase_dodged() projectile->name(DESC_THE).c_str(), evasion_margin_adverb().c_str(), defender_name().c_str(), - attack_strength_punctuation().c_str()); + attack_strength_punctuation(damage_done).c_str()); } return true; @@ -862,5 +862,5 @@ void ranged_attack::announce_hit() ? " in a vulnerable spot" : "", debug_damage_number().c_str(), - attack_strength_punctuation().c_str()); + attack_strength_punctuation(damage_done).c_str()); } |