wishing for quest guardian corpse

wishing for quest guardian corpse now gives
a generic corpse of the species
This commit is contained in:
nethack.allison
2003-08-19 04:06:34 +00:00
parent d72700c070
commit 3372f5d694
4 changed files with 46 additions and 1 deletions

View File

@@ -2559,7 +2559,10 @@ typfnd:
/* beware of random troll or lizard corpse,
or of ordinary one being forced to such */
if (otmp->timed) obj_stop_timers(otmp);
otmp->corpsenm = mntmp;
if (mons[mntmp].msound == MS_GUARDIAN)
otmp->corpsenm = genus(mntmp);
else
otmp->corpsenm = mntmp;
start_corpse_timeout(otmp);
}
break;