From 3156b39e958b466c424a27e888861e029ddb0602 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Tue, 1 Apr 2008 19:42:19 +0000 Subject: Yet Another Code Cleanup, this time concentrating on libx11.cc and view.cc. (Yes, this is semi-random.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4032 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/spells1.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/spells1.cc') diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc index e9e2e21617..62081acdbc 100644 --- a/crawl-ref/source/spells1.cc +++ b/crawl-ref/source/spells1.cc @@ -100,7 +100,7 @@ int blink(int pow, bool high_level_controlled_blink, bool wizard_blink) else { // query for location {dlb}: - for (;;) + while (true) { direction(beam, DIR_TARGET, TARG_ANY, -1, false, false, "Blink to where?"); @@ -479,7 +479,7 @@ bool conjure_flame(int pow) bool done_first_message = false; - for (;;) + while (true) { if (done_first_message) mpr("Where would you like to place the cloud?", MSGCH_PROMPT); -- cgit v1.2.3-54-g00ecf