]> granicus.if.org Git - nethack/commitdiff
destroy_mitem message tidbit (trunk only)
authornethack.rankin <nethack.rankin>
Mon, 28 May 2007 03:38:12 +0000 (03:38 +0000)
committernethack.rankin <nethack.rankin>
Mon, 28 May 2007 03:38:12 +0000 (03:38 +0000)
     "the kobold's potion of healing boils and explodes!"
Should be capitalized.  Post-3.4.3 code; branch isn't using yname() here.

src/zap.c

index d9f696968587fd7e9875b69bdff3f41ff2d66957..44ca8112c79ff619cb8ec1ba420ff6bfff26524f 100644 (file)
--- a/src/zap.c
+++ b/src/zap.c
@@ -4506,7 +4506,7 @@ int osym, dmgtyp;
                    if(!rn2(3)) cnt++;
 
                if(!cnt) continue;
-               if (vis) pline("%s %s!", yname(obj),
+               if (vis) pline("%s %s!", Yname2(obj),
                               destroy_strings[dindx][(cnt > 1L)]);
                for(i = 0; i < cnt; i++) m_useup(mtmp, obj);
            }