summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-10-31 19:53:17 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-10-31 19:53:17 +0800
commit6f896bea66286ad637861ccae7126fda98c0c4ff (patch)
tree2c76bdbb8e1d1a049e7d09c0764ea7d99afe2ddf /include
parent4b5bac6a3c1bd493bb89e6973a0849977e6bbf11 (diff)
downloadpttbbs-6f896bea66286ad637861ccae7126fda98c0c4ff.tar
pttbbs-6f896bea66286ad637861ccae7126fda98c0c4ff.tar.gz
pttbbs-6f896bea66286ad637861ccae7126fda98c0c4ff.tar.bz2
pttbbs-6f896bea66286ad637861ccae7126fda98c0c4ff.tar.lz
pttbbs-6f896bea66286ad637861ccae7126fda98c0c4ff.tar.xz
pttbbs-6f896bea66286ad637861ccae7126fda98c0c4ff.tar.zst
pttbbs-6f896bea66286ad637861ccae7126fda98c0c4ff.zip
treat lose and decrease chess rating if disconnected
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2301 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/chc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/chc.h b/include/chc.h
index 052565cf..e3b16d38 100644
--- a/include/chc.h
+++ b/include/chc.h
@@ -38,6 +38,7 @@ typedef struct chcusr_t{
int lose;
int tie;
unsigned short rating;
+ unsigned short orig_rating; // 原始 rating, 因為遊戲開始先算輸一場, rating 值就跑掉了
} chcusr_t;
#define CHC_ACT_BOARD 0x1 /* set if transfered board to this sock */