summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/randart.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/randart.cc')
-rw-r--r--crawl-ref/source/randart.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/randart.cc b/crawl-ref/source/randart.cc
index 6ed9069317..c17cf49a02 100644
--- a/crawl-ref/source/randart.cc
+++ b/crawl-ref/source/randart.cc
@@ -793,8 +793,8 @@ void static _get_randart_properties(const item_def &item,
}
}
- if (random2(15) >= power_level && aclass != OBJ_WEAPONS &&
- (aclass != OBJ_JEWELLERY || atype != RING_SLAYING))
+ if (random2(15) >= power_level && aclass != OBJ_WEAPONS
+ && (aclass != OBJ_JEWELLERY || atype != RING_SLAYING))
{
// Weapons and rings of slaying can't get these
if (one_chance_in(4 + power_level)) // to-hit