diff options
Diffstat (limited to 'mbbsd/gamble.c')
-rw-r--r-- | mbbsd/gamble.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/mbbsd/gamble.c b/mbbsd/gamble.c index 88e82b67..c692cd4f 100644 --- a/mbbsd/gamble.c +++ b/mbbsd/gamble.c @@ -1,4 +1,4 @@ -/* $Id: gamble.c,v 1.19 2002/06/23 02:05:46 ptt Exp $ */ +/* $Id: gamble.c,v 1.20 2002/06/23 03:33:07 ptt Exp $ */ #include "bbs.h" #ifndef _BBS_UTIL_C_ @@ -76,13 +76,18 @@ static int show_ticket_data(char *direct, int *price, boardheader_t *bh) { int i,count, total = 0, end=0, ticket[MAX_ITEM] = {0, 0, 0, 0, 0, 0, 0, 0}; FILE *fp; - char genbuf[256]; + char genbuf[256], t[25]; clear(); if (bh) { sprintf(genbuf,"%s ½ä½L", bh->brdname); - showtitle(genbuf, BBSNAME); + if(bh->endgamble && now > bh->endgamble && now-bh->endgamble<1800) + { + sprintf(t,"«Ê½LË¼Æ %d ¬í"); + showtitle(genbuf, t); + } + else showtitle(genbuf, BBSNAME); } else showtitle("Ptt½ä½L", BBSNAME); |