diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-14 12:17:14 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-14 12:17:14 +0800 |
commit | b42c1422dca69a75eb39c3552fe0c085686668dc (patch) | |
tree | 6ac5a119ffc479c72a159f20cac946d79ddf6d68 | |
parent | 0ca87419c28ebc750934786cde95c57ad840c548 (diff) | |
download | pttbbs-b42c1422dca69a75eb39c3552fe0c085686668dc.tar pttbbs-b42c1422dca69a75eb39c3552fe0c085686668dc.tar.gz pttbbs-b42c1422dca69a75eb39c3552fe0c085686668dc.tar.bz2 pttbbs-b42c1422dca69a75eb39c3552fe0c085686668dc.tar.lz pttbbs-b42c1422dca69a75eb39c3552fe0c085686668dc.tar.xz pttbbs-b42c1422dca69a75eb39c3552fe0c085686668dc.tar.zst pttbbs-b42c1422dca69a75eb39c3552fe0c085686668dc.zip |
* fix: current money should be updated in order song and other commands
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4609 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/cal.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mbbsd/cal.c b/mbbsd/cal.c index 1abc5421..ec99c459 100644 --- a/mbbsd/cal.c +++ b/mbbsd/cal.c @@ -139,6 +139,7 @@ osong(void) } } + reload_money(); if (cuser.money < 200) { move(22, 0); vmsg("點歌要200銀唷!...."); @@ -274,6 +275,7 @@ p_cloak(void) { if (vans(currutmp->invisible ? "確定要現身?[y/N]" : "確定要隱身?[y/N]") != 'y') return 0; + reload_money(); if (cuser.money >= 19) { vice(19, "付費隱身"); currutmp->invisible %= 2; |