]> granicus.if.org Git - nethack/commitdiff
missed one, there were two
authornhmall <nhmall@nethack.org>
Fri, 10 Feb 2023 19:28:27 +0000 (14:28 -0500)
committernhmall <nhmall@nethack.org>
Fri, 10 Feb 2023 19:28:27 +0000 (14:28 -0500)
src/mkobj.c

index 21513f71b0df41facbbdeeab32ad1059c8e8e196..a7a76c98448f73acc07edc92f038d00124298628 100644 (file)
@@ -784,8 +784,9 @@ costly_alteration(struct obj *obj, int alter_type)
     case OBJ_INVENT:
         if (learn_bknown)
             set_bknown(obj, 1);
-        if (shkp)
+        if (shkp) {
             SetVoice(shkp, 0, 80, 0);
+       }
         verbalize("You %s %s %s, you pay for %s!",
                   alteration_verbs[alter_type], those, simpleonames(obj),
                   them);