diff options
author | Neil Moore <neil@s-z.org> | 2013-08-11 11:55:12 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2013-08-11 11:55:12 -0400 |
commit | 4d1be6e665fb4a2c271e089a70485e111c29e97c (patch) | |
tree | be3ac3fd5f6d7950b51309a31098adea8fb5bea4 /crawl-ref/source/spl-selfench.cc | |
parent | 649a1be52b9f45b5d15b06d6d516f64394b54260 (diff) | |
download | crawl-ref-4d1be6e665fb4a2c271e089a70485e111c29e97c.tar.gz crawl-ref-4d1be6e665fb4a2c271e089a70485e111c29e97c.zip |
Change title of some spell list screens.
When adjusting or forgetting spells, remind the user in the title why
they're there. This is especially important now that Amnesia brings
up the spell list by default: the player won't see the amnesia prompt
first, so won't know why they're looking at a spell menu.
Diffstat (limited to 'crawl-ref/source/spl-selfench.cc')
-rw-r--r-- | crawl-ref/source/spl-selfench.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/spl-selfench.cc b/crawl-ref/source/spl-selfench.cc index 6f4c38a330..9515c74bae 100644 --- a/crawl-ref/source/spl-selfench.cc +++ b/crawl-ref/source/spl-selfench.cc @@ -279,7 +279,9 @@ int cast_selective_amnesia(string *pre_msg) // Pick a spell to forget. mpr("Forget which spell ([?*] list [ESC] exit)? ", MSGCH_PROMPT); - keyin = Options.auto_list ? list_spells(false, false, false) : get_ch(); + keyin = Options.auto_list + ? list_spells(false, false, false, "Forget which spell?") + : get_ch(); redraw_screen(); while (true) @@ -292,7 +294,7 @@ int cast_selective_amnesia(string *pre_msg) if (keyin == '?' || keyin == '*') { - keyin = list_spells(false, false, false); + keyin = list_spells(false, false, false, "Forget which spell?"); redraw_screen(); } |