diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2004-10-03 16:48:54 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2004-10-03 16:48:54 +0000 |
commit | b81dd3383d69c8fe4e0661b99871c7a5ba9f940d (patch) | |
tree | 8c4924f7d7a2e00e151163b3be40a8ac330e6207 /src/graphic/graphic.cpp | |
parent | 6c8707472f72e0ecf3827c8dccfe6851fc00eb50 (diff) | |
download | mana-b81dd3383d69c8fe4e0661b99871c7a5ba9f940d.tar.gz mana-b81dd3383d69c8fe4e0661b99871c7a5ba9f940d.tar.bz2 mana-b81dd3383d69c8fe4e0661b99871c7a5ba9f940d.tar.xz mana-b81dd3383d69c8fe4e0661b99871c7a5ba9f940d.zip |
*** empty log message ***
Diffstat (limited to 'src/graphic/graphic.cpp')
-rw-r--r-- | src/graphic/graphic.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graphic/graphic.cpp b/src/graphic/graphic.cpp index cbd0a9da..86aa62d4 100644 --- a/src/graphic/graphic.cpp +++ b/src/graphic/graphic.cpp @@ -313,9 +313,9 @@ void do_graphic(void) { break; case 3: char money[20]; - sprintf(money, "%i gp", char_info->zeny); + sprintf(money, "%i gp", char_info->gp); buy_dialog[4].dp = &money; - buy_dialog[5].d1 = (int)(char_info->zeny/get_item_price(buy_dialog[3].d1)); + buy_dialog[5].d1 = (int)(char_info->gp/get_item_price(buy_dialog[3].d1)); if(buy_dialog[5].d2>buy_dialog[5].d1) //alfont_textprintf(double_buffer, gui_font, 0, 10, MAKECOL_WHITE, "%i", buy_dialog[5].d1); dialog_message(buy_dialog, MSG_DRAW, 0, 0); |