diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-04-14 08:42:55 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-04-14 08:42:55 +0000 |
commit | a645ea7c241525d80c84cf3a843cd19dc29e8d17 (patch) | |
tree | 5f434cb49ab04806d92b6f88b3b2f85fc8b58f63 /crawl-ref/source/spl-util.h | |
parent | 30653817169d9b0e2b517ba9c3e6586962b0edee (diff) | |
download | crawl-ref-a645ea7c241525d80c84cf3a843cd19dc29e8d17.tar.gz crawl-ref-a645ea7c241525d80c84cf3a843cd19dc29e8d17.zip |
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
Diffstat (limited to 'crawl-ref/source/spl-util.h')
-rw-r--r-- | crawl-ref/source/spl-util.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 |