diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-12-18 03:05:20 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-12-18 03:07:11 +0100 |
commit | 6b6c6aac8353d6651042d3b052405d397ee161be (patch) | |
tree | c51a7c8ccaf408576c089d38fc328c0b8f60c060 /crawl-ref/source/message.cc | |
parent | ee639963993c01a8b3b866d2359229fc853f49f0 (diff) | |
download | crawl-ref-6b6c6aac8353d6651042d3b052405d397ee161be.tar.gz crawl-ref-6b6c6aac8353d6651042d3b052405d397ee161be.zip |
Fix a console-in-webtiles hints regression vs console.
(is_tiles() is constexpr, ie not any worse than #ifdefs in C++11, or in
C++ < 11 optimized builds.)
Diffstat (limited to 'crawl-ref/source/message.cc')
-rw-r--r-- | crawl-ref/source/message.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/crawl-ref/source/message.cc b/crawl-ref/source/message.cc index 9e2f5296a9..8348995233 100644 --- a/crawl-ref/source/message.cc +++ b/crawl-ref/source/message.cc @@ -577,9 +577,8 @@ public: if (crawl_state.game_is_hints()) { string more_str = "--more-- Press Space "; -#ifdef USE_TILE - more_str += "or click "; -#endif + if (is_tiles()) + more_str += "or click "; more_str += "to continue. You can later reread messages with " "Ctrl-P."; cprintf(more_str.c_str()); |