From edee769d37e0657dbdca832a1b5f4fe0987d1b2e Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Thu, 13 Feb 2003 11:04:56 +0000 Subject: [PATCH] tombstone engraving with fingers wrote: > comments: When I try to write in the dust, with my finger, on a > tombstone, it works the first time, but after that I'm getting a > message that I can not erase what's written here. Is that an > intentional way of preventing us gaining a bunch of levels fighting 5 days, no objections to proposed code change. --- src/engrave.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/engrave.c b/src/engrave.c index b4bc4c4c9..a72b327fd 100644 --- a/src/engrave.c +++ b/src/engrave.c @@ -530,7 +530,11 @@ doengrave() return(0); } if (IS_GRAVE(levl[u.ux][u.uy].typ)) { - if (!levl[u.ux][u.uy].disturbed) { + if (otmp == &zeroobj) { /* using only finger */ + You("would only make a small smudge on the %s.", + surface(u.ux, u.uy)); + return(0); + } else if (!levl[u.ux][u.uy].disturbed) { You("disturb the undead!"); levl[u.ux][u.uy].disturbed = 1; (void) makemon(&mons[PM_GHOUL], u.ux, u.uy, NO_MM_FLAGS); -- 2.40.0