summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-06-03 13:27:05 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-06-03 13:27:05 +0800
commit4d28ea650f93250437ff1e463e415715b0c1d936 (patch)
treee20b496f3cb8bad9f142f48121e37e5266aab929 /mbbsd
parent68076824b9a13a50860a165d31978e49154bd71e (diff)
downloadpttbbs-4d28ea650f93250437ff1e463e415715b0c1d936.tar
pttbbs-4d28ea650f93250437ff1e463e415715b0c1d936.tar.gz
pttbbs-4d28ea650f93250437ff1e463e415715b0c1d936.tar.bz2
pttbbs-4d28ea650f93250437ff1e463e415715b0c1d936.tar.lz
pttbbs-4d28ea650f93250437ff1e463e415715b0c1d936.tar.xz
pttbbs-4d28ea650f93250437ff1e463e415715b0c1d936.tar.zst
pttbbs-4d28ea650f93250437ff1e463e415715b0c1d936.zip
- fix buying check money: offset-by-one bug
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4333 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/gamble.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/gamble.c b/mbbsd/gamble.c
index 81310988..cf7a43b2 100644
--- a/mbbsd/gamble.c
+++ b/mbbsd/gamble.c
@@ -151,7 +151,7 @@ buy_ticket_ui(int money, const char *picture, int *item, int haveticket)
return;
reload_money();
- if (cuser.money/money <= num) {
+ if (cuser.money/money < num) {
vmsg("²{ª÷¤£°÷ !!!");
return;
}