summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/travel.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/travel.cc')
-rw-r--r--crawl-ref/source/travel.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/travel.cc b/crawl-ref/source/travel.cc
index 20ec7cd138..332727cb0e 100644
--- a/crawl-ref/source/travel.cc
+++ b/crawl-ref/source/travel.cc
@@ -2344,7 +2344,7 @@ static travel_target prompt_travel_depth(const level_id &id)
return travel_target(level_id(target.p.id.branch, 1));
target.p.id.depth = get_nearest_level_depth(target.p.id.branch);
- for (;;)
+ while (true)
{
mesclr(true);
mprf(MSGCH_PROMPT, "What level of %s? "