summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-01-16 20:59:48 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-01-16 20:59:48 +0800
commitf41fbbb9af280205a52926cffe4af7503f4d5966 (patch)
tree8d5048c45b08752bbf462ae70727d5e0c21f1fd1
parenta6e4b335f05b75a755532cf208cbab7f22db1796 (diff)
downloadpttbbs-f41fbbb9af280205a52926cffe4af7503f4d5966.tar
pttbbs-f41fbbb9af280205a52926cffe4af7503f4d5966.tar.gz
pttbbs-f41fbbb9af280205a52926cffe4af7503f4d5966.tar.bz2
pttbbs-f41fbbb9af280205a52926cffe4af7503f4d5966.tar.lz
pttbbs-f41fbbb9af280205a52926cffe4af7503f4d5966.tar.xz
pttbbs-f41fbbb9af280205a52926cffe4af7503f4d5966.tar.zst
pttbbs-f41fbbb9af280205a52926cffe4af7503f4d5966.zip
reduce array size, save 360byte
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@607 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/chicken.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pttbbs/mbbsd/chicken.c b/pttbbs/mbbsd/chicken.c
index 4744141e..d1938791 100644
--- a/pttbbs/mbbsd/chicken.c
+++ b/pttbbs/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] =
/* 補品 食物 體重 乾淨 敏捷 攻擊力 知識 快樂 滿意 氣質 疲勞 病氣 滿血 滿法 */
{
/* 雞 */