summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/debug.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/debug.cc')
-rw-r--r--crawl-ref/source/debug.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/debug.cc b/crawl-ref/source/debug.cc
index 10e838de3c..a5731d6cc3 100644
--- a/crawl-ref/source/debug.cc
+++ b/crawl-ref/source/debug.cc
@@ -1293,11 +1293,11 @@ void tweak_object(void)
if (item == you.equip[EQ_WEAPON])
you.wield_change = true;
- for (;;)
+ while (true)
{
void *field_ptr = NULL;
- for (;;)
+ while (true)
{
mpr( you.inv[item].name(DESC_INVENTORY_EQUIP).c_str() );