summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-book.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-11-17 22:00:47 +0100
committerAdam Borowski <kilobyte@angband.pl>2009-11-17 22:00:47 +0100
commit649129f7d0875fc715c6acd444726934696dbe45 (patch)
treec7e89f283520eb5dda66e625228d3294ff5b7766 /crawl-ref/source/spl-book.cc
parent81cdafcf3e77108a36792d765151ccfe94757215 (diff)
downloadcrawl-ref-649129f7d0875fc715c6acd444726934696dbe45.tar.gz
crawl-ref-649129f7d0875fc715c6acd444726934696dbe45.zip
Typo: "consuming 0 spell level".
Diffstat (limited to 'crawl-ref/source/spl-book.cc')
-rw-r--r--crawl-ref/source/spl-book.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-book.cc b/crawl-ref/source/spl-book.cc
index 33a2de822b..3cff4f6e55 100644
--- a/crawl-ref/source/spl-book.cc
+++ b/crawl-ref/source/spl-book.cc
@@ -1799,7 +1799,7 @@ bool learn_spell(spell_type specspell, int book, bool is_safest_book)
snprintf(info, INFO_SIZE,
"Memorise %s, consuming %d spell level%s and leaving %d?",
spell_title(specspell), spell_levels_required(specspell),
- spell_levels_required(specspell) > 1 ? "s" : "",
+ spell_levels_required(specspell) != 1 ? "s" : "",
player_spell_levels() - spell_levels_required(specspell));
// Deactivate choice from tile inventory.