summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/card.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/mbbsd/card.c b/mbbsd/card.c
index 765c9c8e..5f5a1530 100644
--- a/mbbsd/card.c
+++ b/mbbsd/card.c
@@ -640,7 +640,8 @@ ten_helf(void)
int
g_ten_helf(void)
{
- char buf[3];
+ char buf[3];
+ int times = 0;
setutmpmode(TENHALF);
while (1) {
@@ -649,6 +650,14 @@ g_ten_helf(void)
outs("您的錢不夠唷!去多發表些有意義的文章再來~~~");
return 0;
}
+
+ if (times++ % 5 == 0)
+ {
+ move(b_lines-2, 0); clrtoeol();
+ outs(ANSI_COLOR(1;31)
+ "警告: 本遊戲由 PttGames 看板評鑑為極度黑店,請小心!" ANSI_RESET);
+ }
+
getdata(b_lines - 1, 0,
ANSI_COLOR(1;37) "確定要玩十點半嗎 一次十元唷?(Y/N)?[N]" ANSI_RESET,
buf, 3, LCECHO);