diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-03-11 10:02:45 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-03-11 10:02:45 +0800 |
commit | 2ff102d17fe5989f6aaac28200c91370f2143a9a (patch) | |
tree | cb24eef4511445b840bf72e89e3df931827f1988 /mbbsd/chicken.c | |
parent | 455cef69dfb3ad62afa8725b7380f1f26f4926ab (diff) | |
download | pttbbs-2ff102d17fe5989f6aaac28200c91370f2143a9a.tar pttbbs-2ff102d17fe5989f6aaac28200c91370f2143a9a.tar.gz pttbbs-2ff102d17fe5989f6aaac28200c91370f2143a9a.tar.bz2 pttbbs-2ff102d17fe5989f6aaac28200c91370f2143a9a.tar.lz pttbbs-2ff102d17fe5989f6aaac28200c91370f2143a9a.tar.xz pttbbs-2ff102d17fe5989f6aaac28200c91370f2143a9a.tar.zst pttbbs-2ff102d17fe5989f6aaac28200c91370f2143a9a.zip |
- chicken: fix sudden-death after reviving 'too tired' or 'too full'.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3988 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/chicken.c')
-rw-r--r-- | mbbsd/chicken.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mbbsd/chicken.c b/mbbsd/chicken.c index 05e280f9..c6360749 100644 --- a/mbbsd/chicken.c +++ b/mbbsd/chicken.c @@ -843,7 +843,9 @@ recover_chicken(chicken_t * thechicken) thechicken->hp = thechicken->hp_max; thechicken->sick = 0; thechicken->satis = 2; - thechicken->lastvisit = now; + thechicken->tiredstrong = 0; + thechicken->weight = thechicken->hp; + // thechicken->lastvisit = now; // really need so? vice(money, "ÆF¬É¦u½Ã"); snprintf(buf, sizeof(buf), ANSI_COLOR(33;44) "¡¹ÆF¬É¦u½Ã" ANSI_COLOR(37;45) |