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 | |
parent | 6c8707472f72e0ecf3827c8dccfe6851fc00eb50 (diff) | |
download | mana-b81dd3383d69c8fe4e0661b99871c7a5ba9f940d.tar.gz mana-b81dd3383d69c8fe4e0661b99871c7a5ba9f940d.tar.bz2 mana-b81dd3383d69c8fe4e0661b99871c7a5ba9f940d.tar.xz mana-b81dd3383d69c8fe4e0661b99871c7a5ba9f940d.zip |
*** empty log message ***
-rw-r--r-- | src/graphic/graphic.cpp | 4 | ||||
-rw-r--r-- | src/gui/stats.cpp | 2 |
2 files changed, 3 insertions, 3 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); diff --git a/src/gui/stats.cpp b/src/gui/stats.cpp index 5cdbea8f..881d75ee 100644 --- a/src/gui/stats.cpp +++ b/src/gui/stats.cpp @@ -45,7 +45,7 @@ DIALOG stats_dialog[] = { void update_stats_dialog() { sprintf(stats_name, "%s Lvl: % 2i Job: % 2i", char_info->name, char_info->lv, char_info->job_lv); sprintf(stats_hp, "HP % 4d / % 4d", char_info->hp, char_info->max_hp); - sprintf(stats_zeny, "GP % 5i", char_info->zeny); + sprintf(stats_zeny, "GP % 5i", char_info->gp); sprintf(stats_sp, "SP % 4d / % 4d", char_info->sp, char_info->max_sp); stats_dialog[2].d1 = char_info->hp; stats_dialog[2].d2 = char_info->max_hp; |