diff options
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r-- | crawl-ref/source/acr.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc index 05de6baea4..9ba81631f8 100644 --- a/crawl-ref/source/acr.cc +++ b/crawl-ref/source/acr.cc @@ -1016,10 +1016,9 @@ static void experience_check() if (you.real_time != -1) { const time_t curr = you.real_time + (time(NULL) - you.start_time); - char buff[200]; - - mprf("Play time: %s (%ld turns)", - make_time_string(curr, buff, sizeof buff), you.num_turns ); + msg::stream << "Play time: " << make_time_string(curr) + << " (" << you.num_turns << " turns)" + << std::endl; } #ifdef DEBUG_DIAGNOSTICS if (wearing_amulet(AMU_THE_GOURMAND)) |