polyself typo

This commit is contained in:
nethack.rankin
2002-07-19 01:45:26 +00:00
parent 09cb5be946
commit 34bcb2bb2b
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -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)