summaryrefslogtreecommitdiffstats
path: root/mbbsd/chc_play.c
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-11-16 21:41:07 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-11-16 21:41:07 +0800
commiteaa868e5c10158c2d8ca7fb623b9f522e495a829 (patch)
tree5032de1e0c62c77e31dc07c35a5bb34bc4cddae2 /mbbsd/chc_play.c
parent64f4260e432c06146fc866eb5c74449a59f3deeb (diff)
downloadpttbbs-eaa868e5c10158c2d8ca7fb623b9f522e495a829.tar
pttbbs-eaa868e5c10158c2d8ca7fb623b9f522e495a829.tar.gz
pttbbs-eaa868e5c10158c2d8ca7fb623b9f522e495a829.tar.bz2
pttbbs-eaa868e5c10158c2d8ca7fb623b9f522e495a829.tar.lz
pttbbs-eaa868e5c10158c2d8ca7fb623b9f522e495a829.tar.xz
pttbbs-eaa868e5c10158c2d8ca7fb623b9f522e495a829.tar.zst
pttbbs-eaa868e5c10158c2d8ca7fb623b9f522e495a829.zip
show ������������ in user list
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@575 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/chc_play.c')
-rw-r--r--mbbsd/chc_play.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mbbsd/chc_play.c b/mbbsd/chc_play.c
index 74a9aadb..08eead20 100644
--- a/mbbsd/chc_play.c
+++ b/mbbsd/chc_play.c
@@ -1,4 +1,4 @@
-/* $Id: chc_play.c,v 1.6 2002/07/21 09:26:02 in2 Exp $ */
+/* $Id: chc_play.c,v 1.7 2002/11/16 13:41:07 kcwu Exp $ */
#include "bbs.h"
typedef int (*play_func_t) (int, board_t, board_t);
@@ -201,12 +201,15 @@ mainloop(int s, board_t board)
if (endgame == 1) {
strlcpy(chc_warnmsg, "¹ï¤è»{¿é¤F!", sizeof(chc_warnmsg));
cuser.chc_win++;
+ currutmp->chc_win++;
} else if (endgame == 2) {
strlcpy(chc_warnmsg, "§A»{¿é¤F!", sizeof(chc_warnmsg));
cuser.chc_lose++;
+ currutmp->chc_lose++;
} else {
strlcpy(chc_warnmsg, "©M´Ñ", sizeof(chc_warnmsg));
cuser.chc_tie++;
+ currutmp->chc_tie++;
}
cuser.chc_lose--;
passwd_update(usernum, &cuser);