{
int wid, hgt;
int cx, cy;
+ bool seppuku = streq(p_ptr->died_from, "Seppuku");
/* Hack -- retire in town */
dun_level = 0;
/* Fake death */
- if (!streq(p_ptr->died_from, "Seppuku"))
+ if (!seppuku)
#ifdef JP
/* °úÂष¤¿¤È¤¤Î¼±ÊÌʸ»ú */
(void)strcpy(p_ptr->died_from, "ripe");
put_str(format("All Hail the Mighty %s!", sp_ptr->winner), cy + 5, cx - 13);
#endif
+ /* If player did Seppuku, that is already written in playrecord */
+ if (!seppuku)
+ {
#ifdef JP
- do_cmd_write_nikki(NIKKI_BUNSHOU, 0, "¥À¥ó¥¸¥ç¥ó¤Îõº÷¤«¤é°úÂष¤¿¡£");
- do_cmd_write_nikki(NIKKI_GAMESTART, 1, "-------- ¥²¡¼¥à¥ª¡¼¥Ð¡¼ --------");
+ do_cmd_write_nikki(NIKKI_BUNSHOU, 0, "¥À¥ó¥¸¥ç¥ó¤Îõº÷¤«¤é°úÂष¤¿¡£");
+ do_cmd_write_nikki(NIKKI_GAMESTART, 1, "-------- ¥²¡¼¥à¥ª¡¼¥Ð¡¼ --------");
#else
- do_cmd_write_nikki(NIKKI_BUNSHOU, 0, "retire exploring dungeons.");
- do_cmd_write_nikki(NIKKI_GAMESTART, 1, "-------- Game Over --------");
+ do_cmd_write_nikki(NIKKI_BUNSHOU, 0, "retired exploring dungeons.");
+ do_cmd_write_nikki(NIKKI_GAMESTART, 1, "-------- Game Over --------");
#endif
- do_cmd_write_nikki(NIKKI_BUNSHOU, 1, "\n\n\n\n");
+ do_cmd_write_nikki(NIKKI_BUNSHOU, 1, "\n\n\n\n");
+ }
/* Flush input */
flush();