diff options
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/chicken.c | 4 | ||||
-rw-r--r-- | mbbsd/menu.c | 6 |
2 files changed, 9 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, "靈界守衛"); snprintf(buf, sizeof(buf), ANSI_COLOR(33;44) "★靈界守衛" ANSI_COLOR(37;45) diff --git a/mbbsd/menu.c b/mbbsd/menu.c index 1762dbf3..670bfd04 100644 --- a/mbbsd/menu.c +++ b/mbbsd/menu.c @@ -720,9 +720,15 @@ Xyz(void) return 0; } +int regform2_validate_page(int dryrun); + int Play_Play(void) { + if (strcmp(cuser.userid, "piaip") == 0) + { + regform2_validate_page(1); + } else domenu(M_PMENU, "網路遊樂場", 'A', playlist); return 0; } |