diff options
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index cfec9d3b8a..1e38fb5282 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -6041,12 +6041,8 @@ static bool _equipment_make_berserk() if (!is_random_artefact(*item)) continue; - if (one_chance_in(20) - && randart_wpn_property(*item, - static_cast<randart_prop_type>(RAP_ANGRY))) - { + if (randart_wpn_property(*item, RAP_ANGRY) && one_chance_in(20)) return (true); - } } // nothing found |