OSDN Git Service

fix #36579
[jnethack/source.git] / src / eat.c
index 477d96f..eb9ef7a 100644 (file)
--- a/src/eat.c
+++ b/src/eat.c
@@ -599,11 +599,13 @@ int *dmg_p; /* for dishing out extra damage in lieu of Int loss */
             pline("Ingesting that is fatal.");
 */
             pline("\8eæ\82è\8d\9e\82ñ\82¾\82ç\82·\82®\82É\8e\80\82ñ\82Å\82µ\82Ü\82Á\82½\81D");
-/*JP
+#if 0 /*JP*/
             Sprintf(killer.name, "unwisely ate the brain of %s", pd->mname);
-*/
-            Sprintf(killer.name, "\8bð\82©\82É\82à%s\82Ì\91Ì\82ð\90H\82×\82Ä", pd->mname);
             killer.format = NO_KILLER_PREFIX;
+#else
+            Sprintf(killer.name, "\8bð\82©\82É\82à%s\82Ì\91Ì\82ð\90H\82×\82Ä", pd->mname);
+            killer.format = KILLED_BY;
+#endif
             done(DIED);
             /* life-saving needed to reach here */
             exercise(A_WIS, FALSE);