summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/shout.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2013-06-09 19:23:27 -0400
committerNeil Moore <neil@s-z.org>2013-06-09 19:38:03 -0400
commita5badbaee5c2a35ea819e066787da97ad2f0648e (patch)
tree976c8c5e4298388a60b356a62b4f2db065693831 /crawl-ref/source/shout.cc
parent5d961268d2138bd511a266b787977c805a2292f8 (diff)
downloadcrawl-ref-a5badbaee5c2a35ea819e066787da97ad2f0648e.tar.gz
crawl-ref-a5badbaee5c2a35ea819e066787da97ad2f0648e.zip
New mcros ASSERT_IN_BOUNDS{,_OR_ORIGIN}().
These print the out-of-bounds coordinate as part of the assertion message.
Diffstat (limited to 'crawl-ref/source/shout.cc')
-rw-r--r--crawl-ref/source/shout.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/shout.cc b/crawl-ref/source/shout.cc
index dbac64d836..f3fcedf6a2 100644
--- a/crawl-ref/source/shout.cc
+++ b/crawl-ref/source/shout.cc
@@ -466,7 +466,7 @@ bool noisy(int original_loudness, const coord_def& where,
const char *msg, int who,
bool mermaid, bool message_if_unseen, bool fake_noise)
{
- ASSERT(in_bounds(where));
+ ASSERT_IN_BOUNDS(where);
if (original_loudness <= 0)
return false;