]> granicus.if.org Git - nethack/commitdiff
polyself typo
authornethack.rankin <nethack.rankin>
Fri, 19 Jul 2002 01:45:26 +0000 (01:45 +0000)
committernethack.rankin <nethack.rankin>
Fri, 19 Jul 2002 01:45:26 +0000 (01:45 +0000)
doc/fixes34.1
src/polyself.c

index 9310cbe68a38db63e731f7f4aa4a6d1fd348dde1..75aecb9167ae4aa9ff27bab304505df4c0d3af55 100644 (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
index fb860ac755937eba47d7c914535fc263a402d4b8..ac5028954b781f8b8482d84c76cce58d4cddc5ba 100644 (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)