diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-12 16:09:42 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-12 16:09:42 +0000 |
commit | f2903290696c79d076a099db8b0eba67793ddbb9 (patch) | |
tree | 1fb2036dde32321527a756d8c9f90971e10d9dc8 /crawl-ref/source/spl-cast.h | |
parent | aba7dd7d985d82d217a40c7aea7b2051a9b1d035 (diff) | |
download | crawl-ref-f2903290696c79d076a099db8b0eba67793ddbb9.tar.gz crawl-ref-f2903290696c79d076a099db8b0eba67793ddbb9.zip |
Broke up the monolithic miscast_effect function (used to be 1500 lines long!)
Removed the return value as it was never getting used.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1850 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-cast.h')
-rw-r--r-- | crawl-ref/source/spl-cast.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-cast.h b/crawl-ref/source/spl-cast.h index f69a70c72a..6021cd634b 100644 --- a/crawl-ref/source/spl-cast.h +++ b/crawl-ref/source/spl-cast.h @@ -50,7 +50,7 @@ spret_type your_spells( spell_type spell, int powc = 0, * called from: acr - decks - fight - it_use2 - it_use3 - item_use - items - * misc - mstuff2 - religion - spell - spl-book - spells4 * *********************************************************************** */ -bool miscast_effect( unsigned int sp_type, int mag_pow, int mag_fail, +void miscast_effect( unsigned int sp_type, int mag_pow, int mag_fail, int force_effect, const char *cause = NULL ); const char* failure_rate_to_string( int fail ); |