summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.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/player.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/player.cc')
-rw-r--r--crawl-ref/source/player.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index 86c6540f8b..d42da805ce 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -1243,7 +1243,7 @@ int player_hunger_rate(void)
if (player_equip_ego_type( EQ_WEAPON, SPWPN_VAMPIRICISM ))
{
hunger += 6;
- hunger += 3 * player_equip_unrand( SPWPN_VAMPIRES_TOOTH );
+ hunger += 3 * player_equip_unrand( UNRAND_VAMPIRES_TOOTH );
}
}
else
@@ -1251,7 +1251,7 @@ int player_hunger_rate(void)
if (player_equip_ego_type( EQ_WEAPON, SPWPN_VAMPIRICISM ))
{
hunger += 1;
- hunger += 1 * player_equip_unrand( SPWPN_VAMPIRES_TOOTH );
+ hunger += 1 * player_equip_unrand( UNRAND_VAMPIRES_TOOTH );
}
}
@@ -1856,7 +1856,7 @@ int player_spec_poison()
// Staves
sp += player_equip( EQ_STAFF, STAFF_POISON );
- if (player_equip_unrand(SPWPN_STAFF_OF_OLGREB))
+ if (player_equip_unrand(UNRAND_OLGREB))
sp++;
return sp;