diff options
author | nagdon <m1nagdon@gmail.com> | 2014-08-16 12:09:44 +0200 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-08-16 18:57:46 -0400 |
commit | 2625ad16af54042859690e2629dd1a1c46ec9d56 (patch) | |
tree | b14fe3b55cafa68867bc42b84e3e18d57c5c6dce | |
parent | c8494a13f39b015db5302ba12e035ffa2291583b (diff) | |
download | crawl-ref-2625ad16af54042859690e2629dd1a1c46ec9d56.tar.gz crawl-ref-2625ad16af54042859690e2629dd1a1c46ec9d56.zip |
Do not display "Spell assigned to 'a'." at game start
Now this is the first message for jobs with a pre-memorized spell
(it is printed before "Welcome, [character name] the [race] [job]."). This
message works well after the memorization messages, but is confusing and
strange without them (and almost completely unneccessary).
-rw-r--r-- | crawl-ref/source/spl-util.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-util.cc b/crawl-ref/source/spl-util.cc index 41272af34f..dda27711c0 100644 --- a/crawl-ref/source/spl-util.cc +++ b/crawl-ref/source/spl-util.cc @@ -281,7 +281,9 @@ bool add_spell_to_memory(spell_type spell) break; } - mprf("Spell assigned to '%c'.", index_to_letter(j)); + if (you.num_turns) + mprf("Spell assigned to '%c'.", index_to_letter(j)); + you.spell_letter_table[j] = i; you.spell_no++; |