summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);