From 810386390e21c9a7ed7760043e7cf9dbf15c3b3d Mon Sep 17 00:00:00 2001 From: "nethack.rankin" Date: Mon, 21 Oct 2002 08:19:17 +0000 Subject: [PATCH] eating mimic corpses Don't mimic gold if you are Unchanging at the time you eat a mimic corpse. --- doc/fixes34.1 | 1 + src/eat.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/fixes34.1 b/doc/fixes34.1 index 7887f1286..d3a5afb4a 100644 --- a/doc/fixes34.1 +++ b/doc/fixes34.1 @@ -284,6 +284,7 @@ detect attempt to swap places with big pet through narrow opening stinking clouds in bones files do not get their ttl set reasonably stinking clouds in bones files may incorrectly set player_inside breaking wand of digging on a drawbridge shouldn't dig/hole a pit in the bridge +avoid mimicking gold when the character has the Unchanging attribute Platform- and/or Interface-Specific Fixes diff --git a/src/eat.c b/src/eat.c index 6ac56f807..821e29392 100644 --- a/src/eat.c +++ b/src/eat.c @@ -834,7 +834,7 @@ register int pm; /* fall into next case */ case PM_SMALL_MIMIC: tmp += 20; - if (youmonst.data->mlet != S_MIMIC) { + if (youmonst.data->mlet != S_MIMIC && !Unchanging) { char buf[BUFSZ]; You_cant("resist the temptation to mimic a pile of gold."); #ifdef STEED -- 2.40.0