diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-06-25 18:14:33 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-06-25 18:14:33 +0000 |
commit | a6cc69a168056e0f11ac171b35d52d31f3aca8bb (patch) | |
tree | c9baa6de76ae957c166efbe6c0d4bbdc66670966 /crawl-ref/source/player.cc | |
parent | c9af2ce66265871a81fd71f5071220922d284491 (diff) | |
download | crawl-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.cc | 6 |
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; |