summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
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++)
{