diff options
author | Neil Moore <neil@s-z.org> | 2014-07-08 00:35:34 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2014-07-08 00:35:35 -0400 |
commit | 2232fbc057487c4773e21bf4659712d58324fe2e (patch) | |
tree | 768b718ac9fbcc48425b9871a7cabc847cdbea01 /crawl-ref/source/spl-util.cc | |
parent | af9c773e796cefc7a2c94a3ba07f23139ecb07ef (diff) | |
download | crawl-ref-2232fbc057487c4773e21bf4659712d58324fe2e.tar.gz crawl-ref-2232fbc057487c4773e21bf4659712d58324fe2e.zip |
Always show spell letter assignment (#8707)
As suggested by MarvinPA in his comment to the bug report, use the
existing spell_slot message so that there aren't duplicate messages.
Diffstat (limited to 'crawl-ref/source/spl-util.cc')
-rw-r--r-- | crawl-ref/source/spl-util.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/spl-util.cc b/crawl-ref/source/spl-util.cc index 680840f2df..b969b0231f 100644 --- a/crawl-ref/source/spl-util.cc +++ b/crawl-ref/source/spl-util.cc @@ -282,8 +282,6 @@ bool add_spell_to_memory(spell_type spell) you.spell_letter_table[letter_to_index(Options.auto_spell_letters[k].second[l])] == -1) { j = letter_to_index(Options.auto_spell_letters[k].second[l]); - mprf("Spell assigned to '%c'.", - Options.auto_spell_letters[k].second[l]); break; } if (j != -1) @@ -297,6 +295,7 @@ bool add_spell_to_memory(spell_type spell) break; } + mprf("Spell assigned to '%c'.", index_to_letter(j)); you.spell_letter_table[j] = i; you.spell_no++; |