]> granicus.if.org Git - nethack/commitdiff
dragons have scales, not fur
authorcohrs <cohrs>
Sat, 2 Feb 2002 05:00:08 +0000 (05:00 +0000)
committercohrs <cohrs>
Sat, 2 Feb 2002 05:00:08 +0000 (05:00 +0000)
body_part should return "scales" for the HAIR part of a dragon

src/polyself.c

index 3c2ac0d727ab3fab80729401a5d35c1c3708c38c..9c38369cc6f2fb3694dcc84e825b13b5548fe27f 100644 (file)
@@ -1174,7 +1174,7 @@ int part;
            return horse_parts[part];
        if (mptr->mlet == S_EEL && mptr != &mons[PM_JELLYFISH])
            return fish_parts[part];
-       if (slithy(mptr))
+       if (slithy(mptr) || (mptr->mlet == S_DRAGON && part == HAIR))
            return snake_parts[part];
        if (mptr->mlet == S_EYE)
            return sphere_parts[part];