summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-03-12 20:54:30 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-03-12 20:54:30 +0800
commitf7c9bcc2f8e8c9e55e19a4cdc142a3abc00fec27 (patch)
treef8e8104d91d788c9c5df97df30317e2fa372c7fb
parentfce1fb238a12c36134f81f3e054b3be550fcbc23 (diff)
downloadpttbbs-f7c9bcc2f8e8c9e55e19a4cdc142a3abc00fec27.tar
pttbbs-f7c9bcc2f8e8c9e55e19a4cdc142a3abc00fec27.tar.gz
pttbbs-f7c9bcc2f8e8c9e55e19a4cdc142a3abc00fec27.tar.bz2
pttbbs-f7c9bcc2f8e8c9e55e19a4cdc142a3abc00fec27.tar.lz
pttbbs-f7c9bcc2f8e8c9e55e19a4cdc142a3abc00fec27.tar.xz
pttbbs-f7c9bcc2f8e8c9e55e19a4cdc142a3abc00fec27.tar.zst
pttbbs-f7c9bcc2f8e8c9e55e19a4cdc142a3abc00fec27.zip
chicken aging problem: don't use other's age in calculation
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2605 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/chicken.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/chicken.c b/mbbsd/chicken.c
index e4928ea4..b3f69616 100644
--- a/mbbsd/chicken.c
+++ b/mbbsd/chicken.c
@@ -532,7 +532,7 @@ time_diff(chicken_t * thechicken)
return;
if (theage > 13) /* ¦Ñ¦º */
- geting_old(&thechicken->hp_max, &thechicken->weight, diff, age);
+ geting_old(&thechicken->hp_max, &thechicken->weight, diff, theage);
thechicken->lastvisit = now;
thechicken->weight -= thechicken->hp_max * diff / 540; /* Åé­« */