summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/artefact.cc
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-25 18:14:33 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-25 18:14:33 +0000
commita6cc69a168056e0f11ac171b35d52d31f3aca8bb (patch)
treec9baa6de76ae957c166efbe6c0d4bbdc66670966 /crawl-ref/source/artefact.cc
parentc9af2ce66265871a81fd71f5071220922d284491 (diff)
downloadcrawl-ref-a6cc69a168056e0f11ac171b35d52d31f3aca8bb.tar.gz
crawl-ref-a6cc69a168056e0f11ac171b35d52d31f3aca8bb.zip
Remove "#define SPWPN_FOOBAR UNRAND_FOOBAR" backwards compatibility for
fixed-art brand_type enumerations. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10041 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/artefact.cc')
-rw-r--r--crawl-ref/source/artefact.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/artefact.cc b/crawl-ref/source/artefact.cc
index e026b73baf..76383f05c6 100644
--- a/crawl-ref/source/artefact.cc
+++ b/crawl-ref/source/artefact.cc
@@ -1581,8 +1581,7 @@ int find_okay_unrandart(unsigned char aclass, unsigned char atype,
// Never randomly generated until lost in the abyss.
if ((!in_abyss || status != UNIQ_LOST_IN_ABYSS)
- && index >= SPWPN_START_NOGEN_FIXEDARTS
- && index <= SPWPN_END_FIXEDARTS)
+ && index >= UNRAND_CEREBOV && index <= UNRAND_ASMODEUS)
{
continue;
}