eating mimic corpses

Don't mimic gold if you are Unchanging at the time you eat a
mimic corpse.
This commit is contained in:
nethack.rankin
2002-10-21 08:19:17 +00:00
parent 1469d772ff
commit 810386390e
2 changed files with 2 additions and 1 deletions

View File

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

View File

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