summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells3.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r--crawl-ref/source/spells3.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc
index 38631956dd..356e2cb4ae 100644
--- a/crawl-ref/source/spells3.cc
+++ b/crawl-ref/source/spells3.cc
@@ -65,7 +65,7 @@ bool cast_selective_amnesia(bool force)
else
{
// query - conditional ordering is important {dlb}:
- for (;;)
+ while (true)
{
mpr( "Forget which spell ([?*] list [ESC] exit)? ", MSGCH_PROMPT );