summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/melee_attack.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-05-29 14:46:01 -0400
committerNeil Moore <neil@s-z.org>2014-05-29 14:46:01 -0400
commit408c133e4b347784b614e0518905a3cb8bfe5f30 (patch)
treec1c819714e032f1e90e1c8d17abae6cee8ea8c4a /crawl-ref/source/melee_attack.cc
parenta9e4b68620331b624e372ed3d27c3b1da633bac6 (diff)
downloadcrawl-ref-408c133e4b347784b614e0518905a3cb8bfe5f30.tar.gz
crawl-ref-408c133e4b347784b614e0518905a3cb8bfe5f30.zip
Correct a comment I screwed up.
And update another comment to match it.
Diffstat (limited to 'crawl-ref/source/melee_attack.cc')
-rw-r--r--crawl-ref/source/melee_attack.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/melee_attack.cc b/crawl-ref/source/melee_attack.cc
index f231843877..064dc8853e 100644
--- a/crawl-ref/source/melee_attack.cc
+++ b/crawl-ref/source/melee_attack.cc
@@ -2398,7 +2398,7 @@ void melee_attack::apply_staff_damage()
/**
* Calculate the to-hit for an attacker
*
- * @param random If false, return the average damage deterministically.
+ * @param random If false, calculate average to-hit deterministically.
*/
int melee_attack::calc_to_hit(bool random)
{