From 0c170b678f3528771823a2c226275a1613f4bf37 Mon Sep 17 00:00:00 2001 From: Alexander Baldeck Date: Sun, 3 Oct 2004 12:06:58 +0000 Subject: *** empty log message *** --- src/gui/stats.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/gui/stats.cpp b/src/gui/stats.cpp index d4c3524c..6925ee0c 100644 --- a/src/gui/stats.cpp +++ b/src/gui/stats.cpp @@ -37,9 +37,12 @@ DIALOG stats_dialog[] = { { NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL } }; +/** + updates stats_dialog w/ values from PLAYER_INFO *char_info +*/ 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, "Zeny % 5i", char_info->zeny); - sprintf(stats_sp, "SP % 4d / % 4d", char_info->sp, char_info->max_sp); + sprintf(stats_hp, "HP % 4d / % 4d", char_info->hp, char_info->max_hp); + sprintf(stats_zeny, "Zeny % 5i", char_info->zeny); + sprintf(stats_sp, "SP % 4d / % 4d", char_info->sp, char_info->max_sp); } -- cgit v1.2.3-70-g09d2