From 41ed96cee585ee84bd08ff1e3aa2b900d5728afb Mon Sep 17 00:00:00 2001 From: dolorous Date: Sun, 6 Jan 2008 18:18:01 +0000 Subject: Add type fixes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3215 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/player.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/player.cc') 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++) { -- cgit v1.2.3-54-g00ecf