From a645ea7c241525d80c84cf3a843cd19dc29e8d17 Mon Sep 17 00:00:00 2001 From: haranp Date: Sat, 14 Apr 2007 08:42:55 +0000 Subject: More code cleanups and type safety. Fixed a semi-bug (undefined behaviour) in undead_cannot_memorise(). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1302 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/spl-util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (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 2f181470aa..676eef40e6 100644 --- a/crawl-ref/source/spl-util.h +++ b/crawl-ref/source/spl-util.h @@ -62,8 +62,8 @@ int spell_levels_required(spell_type which_spell); unsigned int get_spell_flags( spell_type which_spell ); // * called from: chardump - spell - spl-book - spells0 -bool spell_typematch(int which_spell, unsigned int which_discipline); -unsigned int get_spell_type( int which_spell ); //jmf: simplification of above +bool spell_typematch(spell_type which_spell, unsigned int which_discipline); +unsigned int get_spell_type( spell_type which_spell ); int count_bits( unsigned int bits ); // * called from: chardump - command - debug - spl-book - spells0 -- cgit v1.2.3-54-g00ecf