From: nethack.allison Date: Wed, 16 Jul 2003 23:13:51 +0000 (+0000) Subject: stone to flesh bit X-Git-Tag: MOVE2GIT~1897 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=83c28e6ff81122e7c7ac9ab481f4620e7207882b;p=nethack stone to flesh bit Since the crysknife is the only MINERAL object in the game that isn't affected by the "stone to flesh" spell, and the only thing that makes it to the default case on the switch statement in zap.c, make it obvious that it isn't an oversight that nothing happens. (it wasn't an oversight, right?) --- diff --git a/src/zap.c b/src/zap.c index e60efcd53..47cc93e46 100644 --- a/src/zap.c +++ b/src/zap.c @@ -1674,6 +1674,8 @@ smell: else Norep("You smell a delicious smell."); break; + case WEAPON_CLASS: /* crysknife */ + /* fall through */ default: res = 0; break;