diff options
author | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2011-01-18 10:57:29 +0100 |
---|---|---|
committer | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2011-01-18 18:01:43 +0100 |
commit | 381c2d96ad90432afc6e85b00f4252447bee7128 (patch) | |
tree | 8ce88f71911078b26cc9194672c8eea96ef06321 /crawl-ref/source/spl-cast.h | |
parent | b5e8b4eef9d746eb490bf7e402b8de827f1f68d4 (diff) | |
download | crawl-ref-381c2d96ad90432afc6e85b00f4252447bee7128.tar.gz crawl-ref-381c2d96ad90432afc6e85b00f4252447bee7128.zip |
Don't preselect a spell in the amnesia prompt.
That's just a recipe for disaster.
Diffstat (limited to 'crawl-ref/source/spl-cast.h')
-rw-r--r-- | crawl-ref/source/spl-cast.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-cast.h b/crawl-ref/source/spl-cast.h index 7c9d2f6162..222b23a8be 100644 --- a/crawl-ref/source/spl-cast.h +++ b/crawl-ref/source/spl-cast.h @@ -54,7 +54,8 @@ enum spret_type typedef bool (*spell_selector)(spell_type spell); int list_spells(bool toggle_with_I = true, bool viewing = false, - int minRange = -1, spell_selector selector = NULL); + bool allow_preselect = true, int minRange = -1, + spell_selector selector = NULL); int spell_fail(spell_type spell); int calc_spell_power(spell_type spell, bool apply_intel, bool fail_rate_chk = false, bool cap_power = true, |