summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/direct.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-08-04 21:43:38 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-08-04 21:43:38 +0000
commitaf65a4e054eb0cb18f736776f7fa3bcc29e4eb9c (patch)
tree8af3bb26ed8e6235c8bb9dfd84eaa12c4d64a1b4 /crawl-ref/source/direct.cc
parente51a590beed02f0445ec463309f1c3e2b7f67fc2 (diff)
downloadcrawl-ref-af65a4e054eb0cb18f736776f7fa3bcc29e4eb9c.tar.gz
crawl-ref-af65a4e054eb0cb18f736776f7fa3bcc29e4eb9c.zip
Minor code review of the Beogh idol revenge and Trog/Ely destruction stuff.
Xom won't protect you from Beogh revenge, too capricious for that. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1969 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/direct.cc')
-rw-r--r--crawl-ref/source/direct.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/direct.cc b/crawl-ref/source/direct.cc
index c08a7fa406..d8dcb66f74 100644
--- a/crawl-ref/source/direct.cc
+++ b/crawl-ref/source/direct.cc
@@ -302,7 +302,7 @@ void direction(dist& moves, targeting_type restricts,
}
bool show_prompt = true;
- while (1)
+ while (true)
{
// Prompts might get scrolled off if you have too few lines available.
// We'll live with that.