diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-01-16 20:59:48 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-01-16 20:59:48 +0800 |
commit | ab3ed372972ab2a54d56914c7696412da1a38f48 (patch) | |
tree | dc4744008f4a0d44717e0851fed0e31c8cfe9d3a /mbbsd/chicken.c | |
parent | 03b5c1dfc4a580695862d0a5e10e9d1bad5eca0e (diff) | |
download | pttbbs-ab3ed372972ab2a54d56914c7696412da1a38f48.tar pttbbs-ab3ed372972ab2a54d56914c7696412da1a38f48.tar.gz pttbbs-ab3ed372972ab2a54d56914c7696412da1a38f48.tar.bz2 pttbbs-ab3ed372972ab2a54d56914c7696412da1a38f48.tar.lz pttbbs-ab3ed372972ab2a54d56914c7696412da1a38f48.tar.xz pttbbs-ab3ed372972ab2a54d56914c7696412da1a38f48.tar.zst pttbbs-ab3ed372972ab2a54d56914c7696412da1a38f48.zip |
reduce array size, save 360byte
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@607 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/chicken.c')
-rw-r--r-- | mbbsd/chicken.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/chicken.c b/mbbsd/chicken.c index 4744141e..d1938791 100644 --- a/mbbsd/chicken.c +++ b/mbbsd/chicken.c @@ -1,4 +1,4 @@ -/* $Id: chicken.c,v 1.9 2002/07/22 19:02:00 in2 Exp $ */ +/* $Id: chicken.c,v 1.10 2003/01/16 12:59:48 kcwu Exp $ */ #include "bbs.h" #define NUM_KINDS 13 /* 有多少種動物 */ @@ -48,7 +48,7 @@ enum { static chicken_t *mychicken = &cuser.mychicken; static int age; -static const int time_change[NUM_KINDS][14] = +static const short time_change[NUM_KINDS][14] = /* 補品 食物 體重 乾淨 敏捷 攻擊力 知識 快樂 滿意 氣質 疲勞 病氣 滿血 滿法 */ { /* 雞 */ |