diff options
author | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-10-30 13:40:41 -0500 |
---|---|---|
committer | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-10-30 13:40:41 -0500 |
commit | 764ee1d67a579678d69aa690e92e263fee2b02e3 (patch) | |
tree | 7017833c9877c49157c8034346c39cb24380a7c1 /crawl-ref/source/makeitem.cc | |
parent | 4ec3018c0783e4c9c4a0a46658dec099d0969b67 (diff) | |
download | crawl-ref-764ee1d67a579678d69aa690e92e263fee2b02e3.tar.gz crawl-ref-764ee1d67a579678d69aa690e92e263fee2b02e3.zip |
Add more minor cosmetic fixes.
Diffstat (limited to 'crawl-ref/source/makeitem.cc')
-rw-r--r-- | crawl-ref/source/makeitem.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc index ff2fc0b3ac..499f3e6522 100644 --- a/crawl-ref/source/makeitem.cc +++ b/crawl-ref/source/makeitem.cc @@ -4506,14 +4506,14 @@ static jewellery_type _get_raw_random_ring_type() jewellery_type get_random_ring_type() { const jewellery_type j = _get_raw_random_ring_type(); - // Adjusted distribution here -- bwr + // Adjusted distribution here. - bwr if ((j == RING_INVISIBILITY || j == RING_REGENERATION || j == RING_TELEPORT_CONTROL || j == RING_SLAYING) && !one_chance_in(3)) { - return _get_raw_random_ring_type(); + return (_get_raw_random_ring_type()); } return (j); |