diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-06-29 22:45:09 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-06-29 22:45:09 +0800 |
commit | 29e58e53604571944c60b373b23a9790efdc73bd (patch) | |
tree | b6171abe65ed81e001d1e40815b3b3f9bb255a9a /mbbsd | |
parent | 1d879cb17202f7472664ef01bff428ece44f9840 (diff) | |
download | pttbbs-29e58e53604571944c60b373b23a9790efdc73bd.tar pttbbs-29e58e53604571944c60b373b23a9790efdc73bd.tar.gz pttbbs-29e58e53604571944c60b373b23a9790efdc73bd.tar.bz2 pttbbs-29e58e53604571944c60b373b23a9790efdc73bd.tar.lz pttbbs-29e58e53604571944c60b373b23a9790efdc73bd.tar.xz pttbbs-29e58e53604571944c60b373b23a9790efdc73bd.tar.zst pttbbs-29e58e53604571944c60b373b23a9790efdc73bd.zip |
debug of market
git-svn-id: http://opensvn.csie.org/pttbbs/branches/ptt.fpg@2103 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/merge.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/merge.c b/mbbsd/merge.c index d141bb02..82cfb23e 100644 --- a/mbbsd/merge.c +++ b/mbbsd/merge.c @@ -73,12 +73,12 @@ m_fpg() clrtobot(); #ifdef MERGEMONEY int price[10] = {74, 21, 29, 48, 67, 11, 9, 43, 57, 72}; - unsigned int market[10], lmarket=0; + unsigned lmarket=0; reload_money(); for(i=0; i<10; i++) - lmarket += market[i]/(674 / price[i]); + lmarket += man.market[i]/(674 / price[i]); sprintf(buf, "您的花園幣有 %10d 換算成 Ptt 幣為 %9d (優惠匯率 155:1), \n" " 銀行有 %10d 換算為 Ptt 幣為 %9d (匯率為 674:1), \n" |