summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-cast.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-01-10 11:42:50 +0100
committerAdam Borowski <kilobyte@angband.pl>2011-01-10 13:45:26 +0100
commit5354b819a15bf3bd7c33c550cf776f0ff5ce0eb9 (patch)
tree773d8e61a10a8d1aede0a651bb6c36d693e1b59d /crawl-ref/source/spl-cast.h
parentd032bde6013592498f7e825fe2f980879f76d1e5 (diff)
downloadcrawl-ref-5354b819a15bf3bd7c33c550cf776f0ff5ce0eb9.tar.gz
crawl-ref-5354b819a15bf3bd7c33c550cf776f0ff5ce0eb9.zip
Auto-id staves if you can cast spells at all.
It's a matter of casting any spell twenty times or so at most. Staves of channeling can be evoked with no spellcasting skills too (useful for invocations/rods/guardian spirit).
Diffstat (limited to 'crawl-ref/source/spl-cast.h')
-rw-r--r--crawl-ref/source/spl-cast.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-cast.h b/crawl-ref/source/spl-cast.h
index ca68ff0a9a..7c9d2f6162 100644
--- a/crawl-ref/source/spl-cast.h
+++ b/crawl-ref/source/spl-cast.h
@@ -65,7 +65,7 @@ int spell_enhancement(unsigned int typeflags);
bool cast_a_spell(bool check_range, spell_type spell = SPELL_NO_SPELL);
-bool maybe_identify_staff(item_def &item, spell_type spell = SPELL_NO_SPELL);
+void maybe_identify_staff(item_def &item);
void inspect_spells();
void do_cast_spell_cmd(bool force);