From 9cc72498ce991197330c1aa957ede3e9da7321fb Mon Sep 17 00:00:00 2001 From: piaip Date: Sat, 26 Jun 2010 02:47:56 +0000 Subject: * make 'change from' free git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5067 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- pttbbs/mbbsd/cal.c | 4 ---- pttbbs/mbbsd/menu.c | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/pttbbs/mbbsd/cal.c b/pttbbs/mbbsd/cal.c index ecf03bd7..2686ba5e 100644 --- a/pttbbs/mbbsd/cal.c +++ b/pttbbs/mbbsd/cal.c @@ -95,14 +95,10 @@ p_from(void) char tmp_from[sizeof(currutmp->from)]; if (vans("確定要改故鄉?[y/N]") != 'y') return 0; - reload_money(); - if (cuser.money < 49) - return 0; if (getdata(b_lines - 1, 0, "請輸入新故鄉:", tmp_from, sizeof(tmp_from), DOECHO) && strcmp(tmp_from, currutmp->from) != 0) { - vice(49, "更改故鄉"); strlcpy(currutmp->from, tmp_from, sizeof(currutmp->from)); } return 0; diff --git a/pttbbs/mbbsd/menu.c b/pttbbs/mbbsd/menu.c index 1d102cf9..d78daa20 100644 --- a/pttbbs/mbbsd/menu.c +++ b/pttbbs/mbbsd/menu.c @@ -806,7 +806,7 @@ static const commands_t xyzlist[] = { static const commands_t moneylist[] = { {p_give, 0, "00Give 給其他人錢"}, {save_violatelaw, 0,"11ViolateLaw 繳罰單"}, - {p_from, 0, "33From 暫時修改故鄉 $49 /次"}, + {p_from, 0, "33From 暫時修改故鄉"}, {ordersong,0, "44OSong 歐桑動態點歌機 $200 /次"}, {p_exmail, 0, "55Exmail 購買信箱 $1000/封"}, {NULL, 0, NULL} -- cgit v1.2.3