From 0ec19db88ab3dda9cce472c2157c054ffc2a9578 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Tue, 1 Apr 2008 13:34:51 +0000 Subject: Fixed spell name cache asserting on invalid spells. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4017 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/spl-util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crawl-ref/source/spl-util.h') diff --git a/crawl-ref/source/spl-util.h b/crawl-ref/source/spl-util.h index 8cce405ad9..98ff8faac8 100644 --- a/crawl-ref/source/spl-util.h +++ b/crawl-ref/source/spl-util.h @@ -61,6 +61,8 @@ struct spell_desc }; +bool is_valid_spell(spell_type spell); + //* * called from: acr void init_spell_descs(void); -- cgit v1.2.3-54-g00ecf