From 3b41c215b669ac33a15f4f9e697e1d59fe180a99 Mon Sep 17 00:00:00 2001 From: ptt Date: Sat, 22 Jun 2002 18:01:23 +0000 Subject: change record stampfile function git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@336 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/gamble.c | 4 ++-- mbbsd/record.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mbbsd/gamble.c b/mbbsd/gamble.c index 917d71b6..d37b5fa5 100644 --- a/mbbsd/gamble.c +++ b/mbbsd/gamble.c @@ -1,4 +1,4 @@ -/* $Id: gamble.c,v 1.17 2002/06/22 07:23:22 ptt Exp $ */ +/* $Id: gamble.c,v 1.18 2002/06/22 18:01:23 ptt Exp $ */ #include "bbs.h" #ifndef _BBS_UTIL_C_ @@ -333,7 +333,7 @@ int openticket(int bid) { while (fscanf(fp1, "%s %d %d\n", userid, &mybet, &i) != EOF) { - if (bet==98 ) + if (bet==98 && mybet>=0 && mybet