diff options
-rw-r--r-- | crawl-ref/source/describe.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc index c41c3826c9..fbb6e7c39f 100644 --- a/crawl-ref/source/describe.cc +++ b/crawl-ref/source/describe.cc @@ -2883,10 +2883,10 @@ static bool _print_final_god_abil_desc(int god, const std::string &final_msg, std::ostringstream buf; buf << final_msg; - if (abil != ABIL_NON_ABILITY) + const std::string cost = "(" + make_cost_description(abil) + ")"; + if (cost != "(None)") { const int spacesleft = 79 - buf.str().length(); - const std::string cost = "(" + make_cost_description(abil) + ")"; buf << std::setw(spacesleft) << cost; } cprintf("%s\n", buf.str().c_str()); |