From f7c9bcc2f8e8c9e55e19a4cdc142a3abc00fec27 Mon Sep 17 00:00:00 2001 From: kcwu Date: Sat, 12 Mar 2005 12:54:30 +0000 Subject: 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 --- mbbsd/chicken.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mbbsd') 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; /* Åé­« */ -- cgit v1.2.3