summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/output.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/output.cc')
-rw-r--r--crawl-ref/source/output.cc4
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));
}