diff options
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r-- | crawl-ref/source/describe.cc | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc index 2b8f4c1e41..ffdffd68c9 100644 --- a/crawl-ref/source/describe.cc +++ b/crawl-ref/source/describe.cc @@ -3166,18 +3166,12 @@ void describe_god( god_type which_god, bool give_title ) // Only give this additional information for worshippers. if (which_god == you.religion) { - if (you.religion == GOD_ZIN - || you.religion == GOD_SHINING_ONE - || you.religion == GOD_ELYVILON) - { - cgotoxy(1, bottom_line - 1, GOTO_CRT); - } - else - cgotoxy(1, bottom_line - 2, GOTO_CRT); - - textcolor(LIGHTGREY); - cprintf(get_linebreak_string(_religion_help(which_god), - numcols).c_str()); + std::string extra = get_linebreak_string(_religion_help(which_god), + numcols).c_str(); + cgotoxy(1, bottom_line - std::count(extra.begin(), extra.end(), '\n')-1, + GOTO_CRT); + textcolor(LIGHTGREY); + cprintf( "%s", extra.c_str() ); } cgotoxy(1, bottom_line); |