From 45766db520ec87d8baea2a26a42a758fbfc16819 Mon Sep 17 00:00:00 2001 From: PatR Date: Tue, 23 Dec 2025 23:13:08 -0800 Subject: [PATCH] pull request #1471 - winter wolf cub Pull request by umbire: the list of monsters which had lycanthrope forms includes winter wolf but was missing winter wolf cub. Affects cannibalism check when hero is a werewolf and eats a winter wolf cub corpse. One-line fix entered manually rather than using the git commit. Fixes #1471 --- doc/fixes3-7-0.txt | 1 + src/were.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/fixes3-7-0.txt b/doc/fixes3-7-0.txt index 4263a6007..6a70bf195 100644 --- a/doc/fixes3-7-0.txt +++ b/doc/fixes3-7-0.txt @@ -1554,6 +1554,7 @@ writing on an unidentified scroll of blank paper identifies blank paper dumplogs include spells and skills praying will not restore monster-form HP while polymorphed, unless you have unchanging +winter wolf cub was missing for monster to lycanthrope conversion Fixes to 3.7.0-x General Problems Exposed Via git Repository diff --git a/src/were.c b/src/were.c index b38bf0ed0..aa65341cb 100644 --- a/src/were.c +++ b/src/were.c @@ -1,4 +1,4 @@ -/* NetHack 3.7 were.c $NHDT-Date: 1717570494 2024/06/05 06:54:54 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.36 $ */ +/* NetHack 3.7 were.c $NHDT-Date: 1766588485 2025/12/24 07:01:25 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.41 $ */ /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ /*-Copyright (c) Robert Patrick Rankin, 2011. */ /* NetHack may be freely redistributed. See license for details. */ @@ -84,6 +84,7 @@ were_beastie(int pm) case PM_WOLF: case PM_WARG: case PM_WINTER_WOLF: + case PM_WINTER_WOLF_CUB: return PM_WEREWOLF; default: break;