summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/status.cc
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-05-11 18:48:27 -0600
committerSteve Melenchuk <smelenchuk@gmail.com>2014-05-11 18:48:27 -0600
commitaf54d60cb9e49de2d453329af798c8d92eec36ae (patch)
treeca02b3288f753d7b4541bd646a44436320a07fa9 /crawl-ref/source/status.cc
parent0fb9ce809de201a9b98bcab123a90a3d44ddef56 (diff)
downloadcrawl-ref-af54d60cb9e49de2d453329af798c8d92eec36ae.tar.gz
crawl-ref-af54d60cb9e49de2d453329af798c8d92eec36ae.zip
Don't always show "bribing" on @/% screens (#8544).
Diffstat (limited to 'crawl-ref/source/status.cc')
-rw-r--r--crawl-ref/source/status.cc17
1 files changed, 9 insertions, 8 deletions
diff --git a/crawl-ref/source/status.cc b/crawl-ref/source/status.cc
index d37c26a2da..fff6eb0851 100644
--- a/crawl-ref/source/status.cc
+++ b/crawl-ref/source/status.cc
@@ -697,15 +697,16 @@ bool fill_status_info(int status, status_info* inf)
: BLUE;
inf->light_text = "Bribe";
+ inf->short_text = make_stringf("bribing [%s]",
+ comma_separated_line(places.begin(),
+ places.end(),
+ ", ", ", ")
+ .c_str());
+ inf->long_text = "You are bribing "
+ + comma_separated_line(places.begin(),
+ places.end())
+ + ".";
}
- inf->short_text = make_stringf("bribing [%s]",
- comma_separated_line(places.begin(),
- places.end(),
- ", ", ", ")
- .c_str());
- inf->long_text = "You are bribing "
- + comma_separated_line(places.begin(), places.end())
- + ".";
break;
}