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:
@@ -438,7 +438,7 @@ register struct monst *mtmp;
|
||||
/* Make sure its your role's quest quardian; adjust if not */
|
||||
if (ptr->msound == MS_GUARDIAN && ptr != &mons[urole.guardnum]) {
|
||||
int mndx = monsndx(ptr);
|
||||
ptr = &mons[genus(mndx)];
|
||||
ptr = &mons[genus(mndx,1)];
|
||||
}
|
||||
|
||||
/* be sure to do this before talking; the monster might teleport away, in
|
||||
|
||||
Reference in New Issue
Block a user