diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-11-03 13:29:27 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-11-03 15:27:26 +0100 |
commit | 31c79607507ed1c1db3162fe3165fe15c7fcb9ee (patch) | |
tree | 6fa451d5e4a099033f997219b790da32d1c198f6 /crawl-ref/source/ray.cc | |
parent | 938f201e9125222ed10ef7db216d168cbb12605a (diff) | |
download | crawl-ref-31c79607507ed1c1db3162fe3165fe15c7fcb9ee.tar.gz crawl-ref-31c79607507ed1c1db3162fe3165fe15c7fcb9ee.zip |
Bug fixes.
Diffstat (limited to 'crawl-ref/source/ray.cc')
-rw-r--r-- | crawl-ref/source/ray.cc | 2 |
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() |