summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/artefact.cc
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-10-11 08:35:43 -0500
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-10-11 08:35:43 -0500
commitd2256098d6a3f551b97caeb8d459dbc7578d834e (patch)
tree68b73b0e835c3350bd1c6ec65dfdacc432fef9ef /crawl-ref/source/artefact.cc
parent0b0dc470a45ae9ec24cba3e991f5f0023a3335fd (diff)
downloadcrawl-ref-d2256098d6a3f551b97caeb8d459dbc7578d834e.tar.gz
crawl-ref-d2256098d6a3f551b97caeb8d459dbc7578d834e.zip
Add minor cosmetic fix.
Diffstat (limited to 'crawl-ref/source/artefact.cc')
-rw-r--r--crawl-ref/source/artefact.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/crawl-ref/source/artefact.cc b/crawl-ref/source/artefact.cc
index fc35e4d7a4..9cb254c619 100644
--- a/crawl-ref/source/artefact.cc
+++ b/crawl-ref/source/artefact.cc
@@ -1676,9 +1676,7 @@ int find_okay_unrandart(unsigned char aclass, unsigned char atype,
unrand_special_type get_unrand_specialness(int unrand_index)
{
if (unrand_index < UNRAND_START || unrand_index > UNRAND_LAST)
- {
return (UNRANDSPEC_NORMAL);
- }
if (unranddata[unrand_index].flags & UNRAND_FLAG_SPECIAL)
return (UNRANDSPEC_SPECIAL);