From e9fd95f6c3dccee78f770c32757da8cd0f938011 Mon Sep 17 00:00:00 2001 From: zelgadis Date: Sat, 3 Jan 2009 22:35:28 +0000 Subject: Add ASSERT(!crawl_state.arena) to a number of places. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8184 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/spells1.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'crawl-ref/source/spells1.cc') diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc index 0dc35f0ce0..73b8d407ab 100644 --- a/crawl-ref/source/spells1.cc +++ b/crawl-ref/source/spells1.cc @@ -62,6 +62,8 @@ static bool _abyss_blocks_teleport(bool cblink) // contamination. int blink(int pow, bool high_level_controlled_blink, bool wizard_blink) { + ASSERT(!crawl_state.arena); + dist beam; if (crawl_state.is_repeating_cmd()) @@ -194,6 +196,8 @@ int blink(int pow, bool high_level_controlled_blink, bool wizard_blink) void random_blink(bool allow_partial_control, bool override_abyss) { + ASSERT(!crawl_state.arena); + bool success = false; coord_def target; -- cgit v1.2.3-54-g00ecf