diff options
author | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2010-12-13 09:14:23 +0800 |
---|---|---|
committer | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2010-12-13 09:14:23 +0800 |
commit | a199c80a4305636ef88ca7aa17c68fdf27e39ab9 (patch) | |
tree | 32a0ffd1a5045d5bcae1a59a59b4213ddcec2604 | |
parent | 66c5b42504b2ee6465b72872a9ae402b4f3f1a4e (diff) | |
download | pttbbs-a199c80a4305636ef88ca7aa17c68fdf27e39ab9.tar pttbbs-a199c80a4305636ef88ca7aa17c68fdf27e39ab9.tar.gz pttbbs-a199c80a4305636ef88ca7aa17c68fdf27e39ab9.tar.bz2 pttbbs-a199c80a4305636ef88ca7aa17c68fdf27e39ab9.tar.lz pttbbs-a199c80a4305636ef88ca7aa17c68fdf27e39ab9.tar.xz pttbbs-a199c80a4305636ef88ca7aa17c68fdf27e39ab9.tar.zst pttbbs-a199c80a4305636ef88ca7aa17c68fdf27e39ab9.zip |
Correct GO personal piece taking
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5284 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/mbbsd/ch_go.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/ch_go.c b/pttbbs/mbbsd/ch_go.c index 308061b8..473f62d8 100644 --- a/pttbbs/mbbsd/ch_go.c +++ b/pttbbs/mbbsd/ch_go.c @@ -659,7 +659,7 @@ go_select(ChessInfo* info, rc_t location, ChessGameResult* result GCC_UNUSED) ChessHistoryAppend(info, &step); go_getstep(&step, info->last_movestr); - if (go_examboard(board, !info->myturn, info)) + if (go_examboard(board, info->turn ^ 1, info)) ChessRedraw(info); else ChessDrawLine(info, BOARD_LINE_ON_SCREEN(location.r)); |