diff options
Diffstat (limited to 'mbbsd/chess.c')
-rw-r--r-- | mbbsd/chess.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mbbsd/chess.c b/mbbsd/chess.c index 6d28e603..a86ca766 100644 --- a/mbbsd/chess.c +++ b/mbbsd/chess.c @@ -1003,12 +1003,17 @@ ChessGenLogUser(ChessInfo* info, ChessGameResult result) static void ChessGenLog(ChessInfo* info, ChessGameResult result) { + char a = 0; if (info->mode == CHESS_MODE_VERSUS && info->myturn == 0 && info->constants->log_board) { ChessGenLogGlobal(info, result); } - if (getans("是否將棋譜寄回信箱?[N/y]") == 'y') + a = getans((cuser.uflag & DEFBACKUP_FLAG) ? + "是否將棋譜寄回信箱? [Y/n]" : + "是否將棋譜寄回信箱? [y/N]"); + + if (TOBACKUP(a)) ChessGenLogUser(info, result); } |