summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
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;