diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-12 20:54:30 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-12 20:54:30 +0800 |
commit | f7c9bcc2f8e8c9e55e19a4cdc142a3abc00fec27 (patch) | |
tree | f8e8104d91d788c9c5df97df30317e2fa372c7fb | |
parent | fce1fb238a12c36134f81f3e054b3be550fcbc23 (diff) | |
download | pttbbs-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.c | 2 |
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; /* Åé« */ |