summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ray.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2013-09-24 11:31:09 -0400
committerNeil Moore <neil@s-z.org>2013-09-24 11:31:09 -0400
commit09e1df4707da22f6ad297a5e21b659dd73c7386b (patch)
tree7b479b15d91ba3c97c055ed63d1b4d00017812bc /crawl-ref/source/ray.cc
parentea3c308993f31be84330b244d58a3f98ea2babe0 (diff)
downloadcrawl-ref-09e1df4707da22f6ad297a5e21b659dd73c7386b.tar.gz
crawl-ref-09e1df4707da22f6ad297a5e21b659dd73c7386b.zip
Improve a comment.
Diffstat (limited to 'crawl-ref/source/ray.cc')
-rw-r--r--crawl-ref/source/ray.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/ray.cc b/crawl-ref/source/ray.cc
index 0066bce38a..f792df83d5 100644
--- a/crawl-ref/source/ray.cc
+++ b/crawl-ref/source/ray.cc
@@ -539,8 +539,8 @@ double ray_def::get_degrees() const
void ray_def::set_degrees(double d)
{
// Changing the angle while on a diamond corner causes problems when the
- // new direction points inside a diamond (#5892). Move the ray slightly
- // inside the diamond first correct for this.
+ // new direction points inside the diamond (#5892). Avoid that case by
+ // first moving the ray's start slightly inside the diamond.
if (on_corner)
nudge_inside();
r.dir = geom::degree_to_vector(d);