diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-10-20 07:32:55 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-10-20 07:32:55 +0800 |
commit | 7477caa6ffc9f8a2e0dbd752387b5da737c9745c (patch) | |
tree | a175f823ebd20c0bc2ca78d9e43be993465c2044 | |
parent | 720ae25981607a50cbcb127c47d8663c4403785b (diff) | |
download | pttbbs-7477caa6ffc9f8a2e0dbd752387b5da737c9745c.tar pttbbs-7477caa6ffc9f8a2e0dbd752387b5da737c9745c.tar.gz pttbbs-7477caa6ffc9f8a2e0dbd752387b5da737c9745c.tar.bz2 pttbbs-7477caa6ffc9f8a2e0dbd752387b5da737c9745c.tar.lz pttbbs-7477caa6ffc9f8a2e0dbd752387b5da737c9745c.tar.xz pttbbs-7477caa6ffc9f8a2e0dbd752387b5da737c9745c.tar.zst pttbbs-7477caa6ffc9f8a2e0dbd752387b5da737c9745c.zip |
check money only if one really wants to order
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3226 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/cal.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/mbbsd/cal.c b/mbbsd/cal.c index 4cab90f9..736f41fe 100644 --- a/mbbsd/cal.c +++ b/mbbsd/cal.c @@ -124,12 +124,6 @@ osong(void) unlockutmpmode(); return 0; } - if (cuser.money < 200) { - move(22, 0); - vmsg("點歌要200銀唷!...."); - unlockutmpmode(); - return 0; - } while (1) { char ans[4]; @@ -154,6 +148,13 @@ osong(void) } } + if (cuser.money < 200) { + move(22, 0); + vmsg("點歌要200銀唷!...."); + unlockutmpmode(); + return 0; + } + getdata_str(14, 0, "點歌者(可匿名): ", sender, sizeof(sender), DOECHO, cuser.userid); getdata(15, 0, "點給(可匿名): ", receiver, sizeof(receiver), DOECHO); |