diff options
author | Adam Borowski <kilobyte@angband.pl> | 2010-03-30 11:08:18 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2010-03-30 11:17:05 +0200 |
commit | 9145e07527b521afea1b13a2fee0b39f7f3e83b4 (patch) | |
tree | a3fdaa0c1cf0a4a68ea9b4fab9c0a4ac25bf4175 /crawl-ref/source/ray.cc | |
parent | ac43205a05aceaffab8b419d6434a7f38ec0b551 (diff) | |
download | crawl-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.cc | 2 |
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 |