From a654d6a45aeba35690e210cf61dc1d0ecde2ebde Mon Sep 17 00:00:00 2001 From: scw Date: Sun, 7 Aug 2005 20:30:32 +0000 Subject: Fix chess watching backward one step bug git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3003 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/chess.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mbbsd/chess.c b/mbbsd/chess.c index c59f4099..2f7aaa96 100644 --- a/mbbsd/chess.c +++ b/mbbsd/chess.c @@ -473,7 +473,8 @@ ChessPlayFuncWatch(ChessInfo* info) info->actions->init_board(info, info->board); info->current_step = 0; - ChessReplayUntil(info, current - 1); + if (current > 1) + ChessReplayUntil(info, current - 1); ChessRedraw(info); } break; -- cgit v1.2.3