summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ray.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2010-03-30 11:08:18 +0200
committerAdam Borowski <kilobyte@angband.pl>2010-03-30 11:17:05 +0200
commit9145e07527b521afea1b13a2fee0b39f7f3e83b4 (patch)
treea3fdaa0c1cf0a4a68ea9b4fab9c0a4ac25bf4175 /crawl-ref/source/ray.cc
parentac43205a05aceaffab8b419d6434a7f38ec0b551 (diff)
downloadcrawl-ref-9145e07527b521afea1b13a2fee0b39f7f3e83b4.tar.gz
crawl-ref-9145e07527b521afea1b13a2fee0b39f7f3e83b4.zip
"make ASSERTS=y" to force assertion checks even in non-debug builds.
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 989a8234ae..8a3685fe53 100644
--- a/crawl-ref/source/ray.cc
+++ b/crawl-ref/source/ray.cc
@@ -474,7 +474,7 @@ void ray_def::bounce(const reflect_grid &rg)
{
ASSERT(_valid());
ASSERT(!rg(coord_def(0,0))); // The cell we bounce from is not solid.
-#ifdef DEBUG
+#ifdef ASSERTS
const coord_def old_pos = pos();
#endif