summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-cast.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-04 05:49:40 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-04 05:49:40 +0000
commitab95ccbc8f5e57b8a615fdaaae2fef383e6aecc7 (patch)
treebb50cef4dbf78201859c62f46b24206250b47fbe /crawl-ref/source/spl-cast.cc
parent21764c78b7f3c90b0164d2463618e695b28c7c52 (diff)
downloadcrawl-ref-ab95ccbc8f5e57b8a615fdaaae2fef383e6aecc7.tar.gz
crawl-ref-ab95ccbc8f5e57b8a615fdaaae2fef383e6aecc7.zip
Oops, successful spellcasting was training skills at the same rate as failed
spellcasting (thanks, Haran). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1209 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r--crawl-ref/source/spl-cast.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc
index 5006e72981..5c7a18bb2a 100644
--- a/crawl-ref/source/spl-cast.cc
+++ b/crawl-ref/source/spl-cast.cc
@@ -1853,7 +1853,7 @@ int your_spells( int spc2, int powc, bool allow_fail )
spellcasting_side_effects(spc2);
- return (true);
+ return (SPRET_SUCCESS);
} // end you_spells()
void exercise_spell( int spell, bool spc, bool success )