]> granicus.if.org Git - nethack/commit
fix #H4204 - shapeshifter taking vampire form
authorPatR <rankin@nethack.org>
Thu, 21 Jan 2016 10:12:47 +0000 (02:12 -0800)
committerPatR <rankin@nethack.org>
Thu, 21 Jan 2016 10:12:47 +0000 (02:12 -0800)
commit885de116e1e93faa8ad5dc2685d16a9f553c50ed
treed3d2644e021a5eef3fbbce4a2e36113b283610c6
parent2e2b54e5482158d5e9d0b834c96ab2e131da5391
fix #H4204 - shapeshifter taking vampire form

When a chameleon/doppelganger/sandestin took vampire or vampire lord
shape, it stopped taking on new shapes.  Vampire shapeshifting was
being applied to all vampires rather than just to is_vampshifter().
When is_vampshifter() is false, the vampire is some other shapeshifter
or Protection_from_shape_changers is in effect, so vampire shifting
doesn't apply.

While testing, I noticed that vampires/lords only turned into bats/
wolves during initial creation.  They did turn into fog clouds in
order to pass closed doors but the other alternate forms were ignored.
That's fixed too.
doc/fixes36.1
src/mon.c
src/monmove.c