summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/items.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/items.cc')
-rw-r--r--crawl-ref/source/items.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/items.cc b/crawl-ref/source/items.cc
index 190c5dd690..4439e8d4c9 100644
--- a/crawl-ref/source/items.cc
+++ b/crawl-ref/source/items.cc
@@ -181,9 +181,9 @@ int cull_items(void)
else if (is_unrandom_artefact( mitm[item] ))
{
// 9. unmark unrandart
- int x = find_unrandart_index(item);
- if (x >= 0)
- set_unrandart_exist(x, 0);
+ int z = find_unrandart_index(item);
+ if (z >= 0)
+ set_unrandart_exist(z, 0);
}
// POOF!