diff options
Diffstat (limited to 'crawl-ref/source/spl-book.cc')
-rw-r--r-- | crawl-ref/source/spl-book.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/spl-book.cc b/crawl-ref/source/spl-book.cc index 52533d386c..8845464757 100644 --- a/crawl-ref/source/spl-book.cc +++ b/crawl-ref/source/spl-book.cc @@ -850,7 +850,7 @@ int spellbook_contents( item_def &book, read_book_action_type action, if (already) out.cprintf( "/" ); - out.cprintf( "%s", spelltype_name( 1 << i ) ); + out.cprintf( "%s", spelltype_long_name( 1 << i ) ); already = true; } } @@ -2068,9 +2068,9 @@ static bool _compare_spells(spell_type a, spell_type b) { int mask = 1 << i; if (a_type == NULL && (schools_a & mask)) - a_type = spelltype_name(mask); + a_type = spelltype_long_name(mask); if (b_type == NULL && (schools_b & mask)) - b_type = spelltype_name(mask); + b_type = spelltype_long_name(mask); } ASSERT(a_type != NULL && b_type != NULL); return (strcmp(a_type, b_type) < 0); |