From ab95ccbc8f5e57b8a615fdaaae2fef383e6aecc7 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Wed, 4 Apr 2007 05:49:40 +0000 Subject: 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 --- crawl-ref/source/spl-cast.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/spl-cast.cc') 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 ) -- cgit v1.2.3-54-g00ecf