guardian corpse, statue animation follow-up

- fix ring of protection from shape changers causing
  real monster to be created.
- add ability to get the character class monster from
  genus() or the species.
- use the character class monster when animating
  guardian corpses.
This commit is contained in:
nethack.allison
2003-08-19 14:41:54 +00:00
parent 61c3188405
commit 48ab2a434c
5 changed files with 31 additions and 21 deletions

View File

@@ -2560,7 +2560,7 @@ typfnd:
or of ordinary one being forced to such */
if (otmp->timed) obj_stop_timers(otmp);
if (mons[mntmp].msound == MS_GUARDIAN)
otmp->corpsenm = genus(mntmp);
otmp->corpsenm = genus(mntmp,1);
else
otmp->corpsenm = mntmp;
start_corpse_timeout(otmp);