diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2010-11-19 22:28:39 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2010-11-19 22:28:39 +0800 |
commit | 564f01683f46356a38941b19f760e24b7eca9054 (patch) | |
tree | e119ae8d819ebe1487780279a50faf4200e5aea7 | |
parent | ebe78b93280787d4b019493e72df8e8fa1e17eb6 (diff) | |
download | pttbbs-564f01683f46356a38941b19f760e24b7eca9054.tar pttbbs-564f01683f46356a38941b19f760e24b7eca9054.tar.gz pttbbs-564f01683f46356a38941b19f760e24b7eca9054.tar.bz2 pttbbs-564f01683f46356a38941b19f760e24b7eca9054.tar.lz pttbbs-564f01683f46356a38941b19f760e24b7eca9054.tar.xz pttbbs-564f01683f46356a38941b19f760e24b7eca9054.tar.zst pttbbs-564f01683f46356a38941b19f760e24b7eca9054.zip |
alert BMs that it takes some fee to cancel a gamble
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5267 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/mbbsd/gamble.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pttbbs/mbbsd/gamble.c b/pttbbs/mbbsd/gamble.c index 369f0fa2..1d20f1c5 100644 --- a/pttbbs/mbbsd/gamble.c +++ b/pttbbs/mbbsd/gamble.c @@ -271,6 +271,13 @@ openticket(int bid) unlockutmpmode(); return 0; } + if (bet == 99) { + move(22, 0); + SOLVE_ANSI_CACHE(); + clrtoeol(); + prints(ANSI_COLOR(1;31) "請注意: 取消要扣手續費 $%d" ANSI_RESET, + price * 10); + } getdata(21, 0, ANSI_COLOR(1) "再次確認輸入號碼" ANSI_RESET ":" , buf, 3, LCECHO); |