From 35b5011fcb03ef3b24f3508b1366a9656103fe88 Mon Sep 17 00:00:00 2001 From: scw Date: Sun, 21 Aug 2005 09:12:47 +0000 Subject: Move cursor to where opposite play in gomoku. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3069 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/gomo.c | 1 + 1 file changed, 1 insertion(+) 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; } } -- cgit v1.2.3