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/spl-cast.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crawl-ref/source/spl-cast.cc') diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc index 7c2753a7ec..2e57483d43 100644 --- a/crawl-ref/source/spl-cast.cc +++ b/crawl-ref/source/spl-cast.cc @@ -991,6 +991,8 @@ int _setup_evaporate_cast() // Others are currently unused or unimplemented. spret_type your_spells(spell_type spell, int powc, bool allow_fail) { + ASSERT(!crawl_state.arena); + const bool wiz_cast = (crawl_state.prev_cmd == CMD_WIZARD && !allow_fail); dist spd; -- cgit v1.2.3-54-g00ecf