]> granicus.if.org Git - nethack/commitdiff
Fix drain life "problem" (zapping it at the floor required you to reach the
authorarromdee <arromdee>
Thu, 10 Jan 2002 06:08:58 +0000 (06:08 +0000)
committerarromdee <arromdee>
Thu, 10 Jan 2002 06:08:58 +0000 (06:08 +0000)
floor) by not making it wipe engravings to begin with.

--Ken A.

doc/buglist
doc/fixes33.2
src/zap.c

index 80c1b3c70c2cfdaa77e1ae865ac7fb6f74e33b55..7bef1c930a2573ba820ae799bef271d09c4ce043 100644 (file)
@@ -43,9 +43,6 @@ speed boots when walking step by step.
 Yanked towards water with grappling hook but don't fall in?
 [psmith@spod-central.org]
 
-Drain life requires you to reach floor to wipe an engraving.
-[psmith@spod-central.org]
-
 Orc monsters should be given poison res? [psmith@spod-central.org]
 
 stone-to-flesh monsters' inventory? [psmith@spod-central.org]
index 52a1a1643b988ba3aebde4baeaaee23ec09b22e8..9092e38bf376d04006100754aaf9dfe59ab341f0 100644 (file)
@@ -373,6 +373,8 @@ monsters who get polymorphed while wearing dragon armor turn into dragons
 shape changers can't be killed by system shock when hit by polymorph
 Chromatic Dragon has silver scales too (she reflects)
 being killed when wishing for an artifact should retain that item in bones data
+the drain life spell should not wipe out engravings (especially not using a
+       function that requires you to be able to reach the floor)
 
 
 Platform- and/or Interface-Specific Fixes
index 36c2c8f54aafb94442ee2575c78b8d30e37bfc62..ee7afaf855ef883169350c387ae06d16eaa9fcff 100644 (file)
--- a/src/zap.c
+++ b/src/zap.c
@@ -2363,9 +2363,6 @@ struct obj *obj;  /* wand or spell */
                case SPE_FORCE_BOLT:
                    wipe_engr_at(x, y, d(2,4));
                    break;
-               case SPE_DRAIN_LIFE:
-                   u_wipe_engr(3);
-                   break;
                default:
                    break;
                }