summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ray.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/ray.cc')
-rw-r--r--crawl-ref/source/ray.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/ray.cc b/crawl-ref/source/ray.cc
index b76db73562..69d43f5da8 100644
--- a/crawl-ref/source/ray.cc
+++ b/crawl-ref/source/ray.cc
@@ -311,7 +311,7 @@ void ray_def::bounce(const reflect_grid &rg)
r.dir = rtrans.dir;
ASSERT(_valid());
- ASSERT(rg(pos() - old_pos));
+ ASSERT(!rg(pos() - old_pos + rg_o));
}
void ray_def::regress()