diff options
author | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-11-14 01:08:20 +0800 |
---|---|---|
committer | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-11-14 01:08:20 +0800 |
commit | 32aef93553362699206b564cbd34d367d177fdb7 (patch) | |
tree | 8bbb5417f2a608200ec40192b14edcbecefd07d0 /mbbsd | |
parent | a64b2b44fd2f4467c818c6c92d72b66dc3a546bb (diff) | |
download | pttbbs-32aef93553362699206b564cbd34d367d177fdb7.tar pttbbs-32aef93553362699206b564cbd34d367d177fdb7.tar.gz pttbbs-32aef93553362699206b564cbd34d367d177fdb7.tar.bz2 pttbbs-32aef93553362699206b564cbd34d367d177fdb7.tar.lz pttbbs-32aef93553362699206b564cbd34d367d177fdb7.tar.xz pttbbs-32aef93553362699206b564cbd34d367d177fdb7.tar.zst pttbbs-32aef93553362699206b564cbd34d367d177fdb7.zip |
Enable chess country for reversi
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4416 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/admin.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c index 4706f999..5629c52d 100644 --- a/mbbsd/admin.c +++ b/mbbsd/admin.c @@ -639,8 +639,9 @@ 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)象棋 (3)圍棋", ans, - sizeof(ans), NUMECHO, genbuf)){ + if (getdata_str(16, 0, + "設定棋國 (0)無 (1)五子棋 (2)象棋 (3)圍棋 (4) 黑白棋", + ans, sizeof(ans), NUMECHO, genbuf)){ newbh.chesscountry = atoi(ans); if (newbh.chesscountry > CHESSCODE_MAX || newbh.chesscountry < CHESSCODE_NONE) |