summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/arena.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/arena.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/arena.cc')
-rw-r--r--crawl-ref/source/arena.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/arena.cc b/crawl-ref/source/arena.cc
index 658687e2a8..3a755ca5ed 100644
--- a/crawl-ref/source/arena.cc
+++ b/crawl-ref/source/arena.cc
@@ -183,7 +183,7 @@ namespace arena
void faction::place_at(const coord_def &pos)
{
- ASSERT(in_bounds(pos));
+ ASSERT_IN_BOUNDS(pos);
for (int i = 0, size = members.size(); i < size; ++i)
{
mons_spec spec = members.get_monster(i);