diff options
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 8dc89b70b7..14354ae205 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -1286,15 +1286,6 @@ int player_spell_levels(void) return (sl); } -bool player_knows_spell(int spell) -{ - for (int i = 0; i < 25; i++) - if (you.spells[i] == spell) - return (true); - - return (false); -} - bool player_can_smell() { return (you.species != SP_MUMMY); @@ -4243,11 +4234,6 @@ bool player_is_airborne(void) return you.airborne(); } -bool player_has_spell( spell_type spell ) -{ - return you.has_spell(spell); -} - static int _species_exp_mod(species_type species) { if (player_genus(GENPC_DRACONIAN, species)) |