diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-06-04 20:09:48 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-06-04 20:09:48 +0800 |
commit | 8e8ee9eb488b119d6a61cb8f85ead0683018b963 (patch) | |
tree | aaa7196fe31e1b3101f7f53b19fc0f548f534101 | |
parent | afdcc476d6f19f96004acb1b96d99b61f2547e39 (diff) | |
download | pttbbs-8e8ee9eb488b119d6a61cb8f85ead0683018b963.tar pttbbs-8e8ee9eb488b119d6a61cb8f85ead0683018b963.tar.gz pttbbs-8e8ee9eb488b119d6a61cb8f85ead0683018b963.tar.bz2 pttbbs-8e8ee9eb488b119d6a61cb8f85ead0683018b963.tar.lz pttbbs-8e8ee9eb488b119d6a61cb8f85ead0683018b963.tar.xz pttbbs-8e8ee9eb488b119d6a61cb8f85ead0683018b963.tar.zst pttbbs-8e8ee9eb488b119d6a61cb8f85ead0683018b963.zip |
- reduce the frequency of alerts
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4343 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/card.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mbbsd/card.c b/mbbsd/card.c index db2f1a54..029176d1 100644 --- a/mbbsd/card.c +++ b/mbbsd/card.c @@ -557,12 +557,14 @@ g_card_jack(void) outs("您的錢不夠唷!去多發表些有意義的文章再來~~~"); return 0; } +#if 0 // should we also notify this? if (times++ % 5 == 0) { move(b_lines-2, 0); clrtoeol(); outs(ANSI_COLOR(1;31) "警告: 本遊戲由 PttGames 看板評鑑為黑店,請小心!" ANSI_RESET); } +#endif getdata(b_lines - 1, 0, "確定要玩黑傑克嗎 一次十元唷?(Y/N)?[N]", buf, 3, LCECHO); if ((*buf != 'y') && (*buf != 'Y')) @@ -658,7 +660,7 @@ g_ten_helf(void) return 0; } - if (times++ % 5 == 0) + if (times++ == 0) { move(b_lines-2, 0); clrtoeol(); outs(ANSI_COLOR(1;31) |