summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/arena.cc
diff options
context:
space:
mode:
authorBrendan Hickey <brendan@bhickey.net>2013-11-15 22:09:48 -0800
committerBrendan Hickey <brendan@bhickey.net>2013-11-15 22:23:40 -0800
commit88d061b7451307158b7e9cf8c83cd09e2ee3c283 (patch)
treef115d2b8bb33c44136bb0f8fdb6df03e5a499758 /crawl-ref/source/arena.cc
parent02d7e00d420071eed54ccd5a13dff0137a22ee52 (diff)
downloadcrawl-ref-88d061b7451307158b7e9cf8c83cd09e2ee3c283.tar.gz
crawl-ref-88d061b7451307158b7e9cf8c83cd09e2ee3c283.zip
Refactor ASSERT(a && b) again
This commit converts ASSERT(a && b) to ASSERT(a); ASSERT(b); Assertions of the form !(a && b) are left intact, since there isn't an obvious readability gain over (!a || !b).
Diffstat (limited to 'crawl-ref/source/arena.cc')
-rw-r--r--crawl-ref/source/arena.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/arena.cc b/crawl-ref/source/arena.cc
index dbef7263af..24a5b1fa0a 100644
--- a/crawl-ref/source/arena.cc
+++ b/crawl-ref/source/arena.cc
@@ -804,7 +804,8 @@ namespace arena
{
const int ch = getchm();
handle_keypress(ch);
- ASSERT(crawl_state.game_is_arena() && !crawl_state.arena_suspended);
+ ASSERT(crawl_state.game_is_arena());
+ ASSERT(!crawl_state.arena_suspended);
if (contest_cancelled)
return;
}