diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-08-22 16:45:01 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-08-22 16:45:01 +0800 |
commit | 1a51cad6a3e382c3b3df4920ff9f15337b1fa133 (patch) | |
tree | edfb52bdfba5c480d3d1f6728e5fe0f209f4ce87 | |
parent | b8e44818ca32575fce76ecd90d770411734b1e1e (diff) | |
download | pttbbs-1a51cad6a3e382c3b3df4920ff9f15337b1fa133.tar pttbbs-1a51cad6a3e382c3b3df4920ff9f15337b1fa133.tar.gz pttbbs-1a51cad6a3e382c3b3df4920ff9f15337b1fa133.tar.bz2 pttbbs-1a51cad6a3e382c3b3df4920ff9f15337b1fa133.tar.lz pttbbs-1a51cad6a3e382c3b3df4920ff9f15337b1fa133.tar.xz pttbbs-1a51cad6a3e382c3b3df4920ff9f15337b1fa133.tar.zst pttbbs-1a51cad6a3e382c3b3df4920ff9f15337b1fa133.zip |
fix last commit bug
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1126 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/chc_play.c | 2 | ||||
-rw-r--r-- | mbbsd/talk.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/mbbsd/chc_play.c b/mbbsd/chc_play.c index d6a714cf..36992ae8 100644 --- a/mbbsd/chc_play.c +++ b/mbbsd/chc_play.c @@ -288,7 +288,7 @@ static void chc_userinit(char *userid1, char *userid2, chcusr_t *user1, chcusr_t *user2, play_func_t play_func[2]) { getuser(userid1); - chcusr_get(&xuser, user2); + chcusr_get(&xuser, user1); getuser(userid2); chcusr_get(&xuser, user2); diff --git a/mbbsd/talk.c b/mbbsd/talk.c index e94bd9f4..3e2e4b39 100644 --- a/mbbsd/talk.c +++ b/mbbsd/talk.c @@ -1348,7 +1348,9 @@ my_talk(userinfo_t * uin, int fri_stat) static void self_play(userinfo_t * uin, int fri_stat) { - chc(0, CHC_PERSONAL); + move(1, 2); + if (getans("[象棋] 你確定要打譜嗎?[N/y]") == 'y') + chc(0, CHC_PERSONAL); } /* 選單式聊天介面 */ |