summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/delay.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/delay.cc')
-rw-r--r--crawl-ref/source/delay.cc12
1 files changed, 7 insertions, 5 deletions
diff --git a/crawl-ref/source/delay.cc b/crawl-ref/source/delay.cc
index 11ce010c47..d1f9f04bc1 100644
--- a/crawl-ref/source/delay.cc
+++ b/crawl-ref/source/delay.cc
@@ -861,7 +861,14 @@ void handle_delay( void )
// Only give the rotting message if the corpse wasn't
// previously rotten. (special < 100 is the rottenness check).
if (delay.parm2 >= 100)
+ {
mpr("The corpse rots.", MSGCH_ROTTEN_MEAT);
+ if (you.is_undead != US_UNDEAD
+ && player_mutation_level(MUT_SAPROVOROUS) < 3)
+ {
+ _xom_check_corpse_waste();
+ }
+ }
if (delay.type == DELAY_OFFER_CORPSE)
{
@@ -875,11 +882,6 @@ void handle_delay( void )
delay.parm2 = 99; // Don't give the message twice.
- if (you.is_undead != US_UNDEAD
- && player_mutation_level(MUT_SAPROVOROUS) < 3)
- {
- _xom_check_corpse_waste();
- }
// Vampires won't continue bottling rotting corpses.
if (delay.type == DELAY_BOTTLE_BLOOD)
{