summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-01-06 18:18:01 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-01-06 18:18:01 +0000
commit41ed96cee585ee84bd08ff1e3aa2b900d5728afb (patch)
treee5286f7f57d4408acf41fcb67d5cc1d7e7bcb1bf /crawl-ref/source/player.cc
parent23d3e07de8fcf2587f6418591ff2da9cb10012f6 (diff)
downloadcrawl-ref-41ed96cee585ee84bd08ff1e3aa2b900d5728afb.tar.gz
crawl-ref-41ed96cee585ee84bd08ff1e3aa2b900d5728afb.zip
Add type fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3215 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index f2f69df1dc..827afc83ac 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -3955,7 +3955,7 @@ bool player_is_airborne(void)
return you.airborne();
}
-bool player_has_spell( int spell )
+bool player_has_spell( spell_type spell )
{
return you.has_spell(spell);
}
@@ -5428,7 +5428,7 @@ bool player::submerged() const
return (false);
}
-bool player::has_spell(int spell) const
+bool player::has_spell(spell_type spell) const
{
for (int i = 0; i < 25; i++)
{