summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-util.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-23 07:54:37 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-23 07:54:37 +0000
commit361fb119f59f5879b115ec1dc050fe84b7381670 (patch)
treebc1992af6fc973debb99c5232e5507ff177c187d /crawl-ref/source/spl-util.cc
parentbb594fc95044847b4835dcc43b9ae3ec726272d8 (diff)
downloadcrawl-ref-361fb119f59f5879b115ec1dc050fe84b7381670.tar.gz
crawl-ref-361fb119f59f5879b115ec1dc050fe84b7381670.zip
Fixed surges being all wrong (1705614.)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1345 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-util.cc')
-rw-r--r--crawl-ref/source/spl-util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-util.cc b/crawl-ref/source/spl-util.cc
index f3be88e194..05458c1ba5 100644
--- a/crawl-ref/source/spl-util.cc
+++ b/crawl-ref/source/spl-util.cc
@@ -233,7 +233,7 @@ bool spell_typematch(spell_type which_spell, unsigned int which_discipline)
}
//jmf: next two for simple bit handling
-unsigned int get_spell_type(spell_type spell)
+unsigned int get_spell_disciplines(spell_type spell)
{
return (seekspell(spell)->disciplines);
}