summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-08-21 17:43:26 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-08-21 17:43:26 +0800
commitce388fb57f1ac52d22556339a1a99c227cb2f9e6 (patch)
tree4e58e1f2a180f321a61606b7427080d1128b3e0c /mbbsd
parent35b5011fcb03ef3b24f3508b1366a9656103fe88 (diff)
downloadpttbbs-ce388fb57f1ac52d22556339a1a99c227cb2f9e6.tar
pttbbs-ce388fb57f1ac52d22556339a1a99c227cb2f9e6.tar.gz
pttbbs-ce388fb57f1ac52d22556339a1a99c227cb2f9e6.tar.bz2
pttbbs-ce388fb57f1ac52d22556339a1a99c227cb2f9e6.tar.lz
pttbbs-ce388fb57f1ac52d22556339a1a99c227cb2f9e6.tar.xz
pttbbs-ce388fb57f1ac52d22556339a1a99c227cb2f9e6.tar.zst
pttbbs-ce388fb57f1ac52d22556339a1a99c227cb2f9e6.zip
* chess country includes GO now
* fix warning in gomo.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3070 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/admin.c2
-rw-r--r--mbbsd/gomo.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c
index 2d908e0d..03dda722 100644
--- a/mbbsd/admin.c
+++ b/mbbsd/admin.c
@@ -563,7 +563,7 @@ m_mod_board(char *bname)
#ifdef CHESSCOUNTRY
if (HasUserPerm(PERM_SYSOP)) {
snprintf(genbuf, sizeof(genbuf), "%d", bh.chesscountry);
- if (getdata_str(16, 0, "設定棋國 (0)無 (1)五子棋 (2)象棋", ans,
+ if (getdata_str(16, 0, "設定棋國 (0)無 (1)五子棋 (2)象棋 (3) 圍棋", ans,
sizeof(ans), LCECHO, genbuf)){
newbh.chesscountry = atoi(ans);
if (newbh.chesscountry > CHESSCODE_MAX ||
diff --git a/mbbsd/gomo.c b/mbbsd/gomo.c
index 00d7c219..521fdb76 100644
--- a/mbbsd/gomo.c
+++ b/mbbsd/gomo.c
@@ -47,7 +47,7 @@ ChessActions gomo_actions = {
&gomo_prepare_play,
&gomo_select,
(void (*)(ChessInfo*, const void*)) &gomo_prepare_step,
- (int (*)(void*, const void*)) &gomo_apply_step,
+ (ChessGameResult (*)(void*, const void*)) &gomo_apply_step,
(void (*)(ChessInfo*, const void*)) &gomo_drawstep,
&gomo_gameend,
&gomo_genlog