diff options
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/chc.c | 4 | ||||
-rw-r--r-- | mbbsd/chess.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/mbbsd/chc.c b/mbbsd/chc.c index d14baf3c..76725a97 100644 --- a/mbbsd/chc.c +++ b/mbbsd/chc.c @@ -282,9 +282,9 @@ chc_log_machine_step(FILE* fp, board_t board, const drc_t *step) * the red side at bottom, so that a rotation is needed. */ fprintf(fp, "%c%c%d%c%c%d ", chess_char[CHE_P(board[step->from.r][step->from.c])], - BRD_COL - step->from.c - 1 + 'a', BRD_ROW - step->from.r - 1, + step->from.c + 'a', BRD_ROW - step->from.r - 1, board[step->to.r][step->to.c] ? 'x' : '-', - BRD_COL - step->to.c - 1 + 'a', BRD_ROW - step->to.r - 1 + step->to.c + 'a', BRD_ROW - step->to.r - 1 ); } diff --git a/mbbsd/chess.c b/mbbsd/chess.c index cc7a4a47..900b39c7 100644 --- a/mbbsd/chess.c +++ b/mbbsd/chess.c @@ -1398,6 +1398,8 @@ NewChessInfo(const ChessActions* actions, const ChessConstants* constants, info->myturn = currutmp->turn; else if (mode == CHESS_MODE_PERSONAL) info->myturn = 1; + else if (mode == CHESS_MODE_REPLAY) + info->myturn = 1; else if (mode == CHESS_MODE_WATCH) ChessReceiveWatchInfo(info); |