]> granicus.if.org Git - nethack/commitdiff
fix B17002 horns
authornethack.allison <nethack.allison>
Sun, 26 Jan 2003 03:25:27 +0000 (03:25 +0000)
committernethack.allison <nethack.allison>
Sun, 26 Jan 2003 03:25:27 +0000 (03:25 +0000)
Asmodeus ought to be in num_horns().
[devteam] balrog as depicted in LotR movie has horns too.

src/mondata.c

index c54701f7ce48eb30dddd312947fe42a812ac8f94..c64112e276f239c36add4fed5e94dd2451d80be0 100644 (file)
@@ -309,6 +309,8 @@ struct permonst *ptr;
     switch (monsndx(ptr)) {
     case PM_HORNED_DEVIL:      /* ? "more than one" */
     case PM_MINOTAUR:
+    case PM_ASMODEUS:
+    case PM_BALROG:
        return 2;
     case PM_WHITE_UNICORN:
     case PM_GRAY_UNICORN: