summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/invent.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/invent.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/invent.cc')
-rw-r--r--crawl-ref/source/invent.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/invent.cc b/crawl-ref/source/invent.cc
index c271abc2aa..fc8010879a 100644
--- a/crawl-ref/source/invent.cc
+++ b/crawl-ref/source/invent.cc
@@ -1758,10 +1758,10 @@ bool item_is_evokable(const item_def &item, bool known, bool all_wands,
{
switch (item.special)
{
- case SPWPN_SCEPTRE_OF_ASMODEUS:
- case SPWPN_STAFF_OF_WUCAD_MU:
- case SPWPN_STAFF_OF_DISPATER:
- case SPWPN_STAFF_OF_OLGREB:
+ case UNRAND_ASMODEUS:
+ case UNRAND_WUCAD_MU:
+ case UNRAND_DISPATER:
+ case UNRAND_OLGREB:
if (!wielded)
{
if (msg)