From 34bcb2bb2be1a3c27ae62fdbb22e174d8c7d4f66 Mon Sep 17 00:00:00 2001 From: "nethack.rankin" Date: Fri, 19 Jul 2002 01:45:26 +0000 Subject: [PATCH] polyself typo --- doc/fixes34.1 | 1 + src/polyself.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/fixes34.1 b/doc/fixes34.1 index 9310cbe68..75aecb916 100644 --- a/doc/fixes34.1 +++ b/doc/fixes34.1 @@ -167,6 +167,7 @@ uncontrolled teleports did not handle leashed pets minetown fountain warnings shouldn't prevent finding gems/coins in fountain order of container and objects was different for mazelike and roomfilled levels minetown guards only enforce town rules inside the town proper +electric damage heals hero polymorphed into flesh golem rather than iron golem Platform- and/or Interface-Specific Fixes diff --git a/src/polyself.c b/src/polyself.c index fb860ac75..ac5028954 100644 --- a/src/polyself.c +++ b/src/polyself.c @@ -1238,7 +1238,7 @@ int damtype, dam; if (u.umonnum != PM_FLESH_GOLEM && u.umonnum != PM_IRON_GOLEM) return; switch (damtype) { - case AD_ELEC: if (u.umonnum == PM_IRON_GOLEM) + case AD_ELEC: if (u.umonnum == PM_FLESH_GOLEM) heal = dam / 6; /* Approx 1 per die */ break; case AD_FIRE: if (u.umonnum == PM_IRON_GOLEM) -- 2.40.0