diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-04-23 10:31:09 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-04-23 10:31:09 +0000 |
commit | f67c60e2b072489550c5d38c3d905412ad676b4e (patch) | |
tree | 790fe72e4c7e34bd388d68b2a27d9bee32ee63f0 | |
parent | 31d23a40fe1ac90e0e319ce9bab1fa3bb0a08bf3 (diff) | |
download | crawl-ref-f67c60e2b072489550c5d38c3d905412ad676b4e.tar.gz crawl-ref-f67c60e2b072489550c5d38c3d905412ad676b4e.zip |
Proper colouring of random_teleport in status screen (David).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1348 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r-- | crawl-ref/source/output.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/output.cc b/crawl-ref/source/output.cc index cccf6e9469..3430247de6 100644 --- a/crawl-ref/source/output.cc +++ b/crawl-ref/source/output.cc @@ -961,7 +961,7 @@ std::vector<formatted_string> get_full_detail(bool calc_unid) determine_color_string(-1), itosym1(1)); else { - const int rrtel = player_teleport(calc_unid); + const int rrtel = !!player_teleport(calc_unid); snprintf(buf, sizeof buf, "%sRnd.Telep. : %s", determine_color_string(rrtel), itosym1(rrtel)); } @@ -1237,7 +1237,7 @@ void print_overview_screen() determine_color_string(-1), itosym1(1)); else { - const int rrtel = player_teleport(calc_unid); + const int rrtel = !!player_teleport(calc_unid); snprintf(buf, sizeof buf, "\n%sRnd.Telep. : %s", determine_color_string(rrtel), itosym1(rrtel)); } |