summaryrefslogtreecommitdiffstats
path: root/mbbsd/chicken.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/chicken.c')
-rw-r--r--mbbsd/chicken.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/chicken.c b/mbbsd/chicken.c
index 7feb83f3..bacddcf9 100644
--- a/mbbsd/chicken.c
+++ b/mbbsd/chicken.c
@@ -453,14 +453,14 @@ ch_hit(chicken_t *mychicken)
pressanykey();
}
-void
+static void
ch_buyitem(int money, const char *picture, int *item, int haveticket)
{
int num = 0;
char buf[5];
getdata_str(b_lines - 1, 0, "要買多少份呢:",
- buf, sizeof(buf), DOECHO, "1");
+ buf, sizeof(buf), NUMECHO, "1");
num = atoi(buf);
if (num < 1)
return;
@@ -468,7 +468,7 @@ ch_buyitem(int money, const char *picture, int *item, int haveticket)
if (cuser.money/money >= num) {
*item += num;
if( haveticket )
- vice(money * num, "購買寵物,賭盤項目");
+ vice(money * num, "購買寵物");
else
demoney(-money * num);
show_chicken_picture(picture);