summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-10-24 20:35:18 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-10-24 20:35:18 +0800
commit02022e323d5366d33166dfda21915f787c8621b1 (patch)
treec9d5e29e4755eb87145288009a84d12961cb7fb4
parentd5c46c8d63194b7d4ad83ae99ecbc06f9108c86c (diff)
downloadpttbbs-02022e323d5366d33166dfda21915f787c8621b1.tar
pttbbs-02022e323d5366d33166dfda21915f787c8621b1.tar.gz
pttbbs-02022e323d5366d33166dfda21915f787c8621b1.tar.bz2
pttbbs-02022e323d5366d33166dfda21915f787c8621b1.tar.lz
pttbbs-02022e323d5366d33166dfda21915f787c8621b1.tar.xz
pttbbs-02022e323d5366d33166dfda21915f787c8621b1.tar.zst
pttbbs-02022e323d5366d33166dfda21915f787c8621b1.zip
fix chess piece name (wrong side)
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2276 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/chc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/chc.c b/mbbsd/chc.c
index a5a6b0cf..f2c22fbd 100644
--- a/mbbsd/chc.c
+++ b/mbbsd/chc.c
@@ -216,7 +216,7 @@ getstep(board_t board, rc_t *from, rc_t *to, char buf[])
if(board[to->r][to->c]) {
len+=sprintf(buf+len,"ĄG%s%s\033[m",
turn_color[turn^1],
- chess_str[turn][CHE_P(board[to->r][to->c])]);
+ chess_str[turn^1][CHE_P(board[to->r][to->c])]);
}
return buf;
}