diff options
author | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-08-16 08:02:20 +0800 |
---|---|---|
committer | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-08-16 08:02:20 +0800 |
commit | 5ca28ad695d818b92f4039a599b1cbd36d14b748 (patch) | |
tree | 62e1964989901bab798f14e5f4eb0e0dd0e31761 /mbbsd | |
parent | 426d45c033157d10cfcb43cdaf0aa5334a343e3a (diff) | |
download | pttbbs-5ca28ad695d818b92f4039a599b1cbd36d14b748.tar pttbbs-5ca28ad695d818b92f4039a599b1cbd36d14b748.tar.gz pttbbs-5ca28ad695d818b92f4039a599b1cbd36d14b748.tar.bz2 pttbbs-5ca28ad695d818b92f4039a599b1cbd36d14b748.tar.lz pttbbs-5ca28ad695d818b92f4039a599b1cbd36d14b748.tar.xz pttbbs-5ca28ad695d818b92f4039a599b1cbd36d14b748.tar.zst pttbbs-5ca28ad695d818b92f4039a599b1cbd36d14b748.zip |
Move cursor to center of the play board in gomoku
at the begining of the game.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3041 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/gomo.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mbbsd/gomo.c b/mbbsd/gomo.c index 6c08565f..0e30bd88 100644 --- a/mbbsd/gomo.c +++ b/mbbsd/gomo.c @@ -447,6 +447,9 @@ gomoku(int s, ChessGameMode mode) info->board = board; info->tag = &tag; + info->cursor.r = 7; + info->cursor.c = 7; + if (info->mode == CHESS_MODE_VERSUS) { /* Assume that info->user1 is me. */ info->user1.lose++; |