Skip to content

Commit

Permalink
The stalker is now considered humanoid, and an exception to the eleme…
Browse files Browse the repository at this point in the history
…ntal rule in mbodypart() is allowed for it such that this is reflected in messages referring to it. Fixes C343-159.
  • Loading branch information
sgrunt committed May 2, 2012
1 parent 785f152 commit 1caa11b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/monst.c
Expand Up @@ -1280,7 +1280,7 @@ NEARDATA struct permonst mons[] = {
A(ATTK(AT_CLAW, AD_PHYS, 4, 4),
NO_ATTK, NO_ATTK, NO_ATTK, NO_ATTK, NO_ATTK),
SIZ(900, 400, 0, MS_SILENT, MZ_LARGE), 0, 0,
M1_ANIMAL|M1_FLY|M1_SEE_INVIS,
M1_ANIMAL|M1_HUMANOID|M1_FLY|M1_SEE_INVIS,
M2_WANDER|M2_STALK|M2_HOSTILE|M2_STRONG, M3_INFRAVISION, CLR_WHITE),
MON("air elemental", S_ELEMENTAL,
LVL(8, 36, 2, 30, 0), (G_NOCORPSE|1),
Expand Down
3 changes: 2 additions & 1 deletion src/polyself.c
Expand Up @@ -1313,7 +1313,8 @@ int part;
if (mptr->mlet == S_JELLY || mptr->mlet == S_PUDDING ||
mptr->mlet == S_BLOB || mptr == &mons[PM_JELLYFISH])
return jelly_parts[part];
if (mptr->mlet == S_VORTEX || mptr->mlet == S_ELEMENTAL)
if (mptr->mlet == S_VORTEX ||
(mptr->mlet == S_ELEMENTAL && mptr != &mons[PM_STALKER]))
return vortex_parts[part];
if (mptr->mlet == S_FUNGUS)
return fungus_parts[part];
Expand Down

0 comments on commit 1caa11b

Please sign in to comment.