diff options
author | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-08-21 17:12:47 +0800 |
---|---|---|
committer | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-08-21 17:12:47 +0800 |
commit | 35b5011fcb03ef3b24f3508b1366a9656103fe88 (patch) | |
tree | 392a0d5b8bba7ee6b331dbd041c90279aecf284e | |
parent | 77251793d3e2a6756ed08cd5d62606d1fb4100dc (diff) | |
download | pttbbs-35b5011fcb03ef3b24f3508b1366a9656103fe88.tar pttbbs-35b5011fcb03ef3b24f3508b1366a9656103fe88.tar.gz pttbbs-35b5011fcb03ef3b24f3508b1366a9656103fe88.tar.bz2 pttbbs-35b5011fcb03ef3b24f3508b1366a9656103fe88.tar.lz pttbbs-35b5011fcb03ef3b24f3508b1366a9656103fe88.tar.xz pttbbs-35b5011fcb03ef3b24f3508b1366a9656103fe88.tar.zst pttbbs-35b5011fcb03ef3b24f3508b1366a9656103fe88.zip |
Move cursor to where opposite play in gomoku.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3069 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/gomo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mbbsd/gomo.c b/mbbsd/gomo.c index 86a03463..00d7c219 100644 --- a/mbbsd/gomo.c +++ b/mbbsd/gomo.c @@ -357,6 +357,7 @@ gomo_prepare_step(ChessInfo* info, const gomo_step_t* step) gomo_getstep(step, info->last_movestr); *(int*) info->tag = getstyle(info->board, step->loc.r, step->loc.c, step->color, step->color == BLK); + info->cursor = step->loc; } } |