diff options
author | Neil Moore <neil@s-z.org> | 2014-05-29 14:46:01 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2014-05-29 14:46:01 -0400 |
commit | 408c133e4b347784b614e0518905a3cb8bfe5f30 (patch) | |
tree | c1c819714e032f1e90e1c8d17abae6cee8ea8c4a /crawl-ref/source/attack.cc | |
parent | a9e4b68620331b624e372ed3d27c3b1da633bac6 (diff) | |
download | crawl-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/attack.cc')
-rw-r--r-- | crawl-ref/source/attack.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/attack.cc b/crawl-ref/source/attack.cc index 7df828e789..ad8bd818de 100644 --- a/crawl-ref/source/attack.cc +++ b/crawl-ref/source/attack.cc @@ -148,9 +148,10 @@ bool attack::handle_phase_end() return true; } -/** Calculate the to-hit for an attacker +/** + * Calculate the to-hit for an attacker * - * @param random deterministic or stochastic calculation(s) + * @param random If false, calculate average to-hit deterministically. */ int attack::calc_to_hit(bool random) { |