summaryrefslogtreecommitdiff
path: root/src/gui/status.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2005-01-12 18:55:33 +0000
committerYohann Ferreira <bertram@cegetel.net>2005-01-12 18:55:33 +0000
commitde4a2ac89c4bed6a5adffd0b926a70c6491a0c9b (patch)
tree93dc2b608f97cdac342c11cb0e868f159bad0a8d /src/gui/status.cpp
parenta10d5d5718dc01792b384532870a965f07ab4af8 (diff)
downloadmana-de4a2ac89c4bed6a5adffd0b926a70c6491a0c9b.tar.gz
mana-de4a2ac89c4bed6a5adffd0b926a70c6491a0c9b.tar.bz2
mana-de4a2ac89c4bed6a5adffd0b926a70c6491a0c9b.tar.xz
mana-de4a2ac89c4bed6a5adffd0b926a70c6491a0c9b.zip
*** empty log message ***
Diffstat (limited to 'src/gui/status.cpp')
-rw-r--r--src/gui/status.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/status.cpp b/src/gui/status.cpp
index 12d4270c..ec2d4b16 100644
--- a/src/gui/status.cpp
+++ b/src/gui/status.cpp
@@ -99,11 +99,11 @@ void StatusWindow::update()
spValue->setCaption(tempstr);
spValue->adjustSize();
- sprintf(tempstr, "Exp: %d", (int)char_info->xp);
+ sprintf(tempstr, "Exp: %d / %d", (int)char_info->xp, (int)char_info->xpForNextLevel);
expLabel->setCaption(tempstr);
expLabel->adjustSize();
- sprintf(tempstr, "Job Exp: %d", (int)char_info->job_xp);
+ sprintf(tempstr, "Job Exp: %d / %d", (int)char_info->job_xp, (int)char_info->jobXpForNextLevel);
jobExpLabel->setCaption(tempstr);
jobExpLabel->adjustSize();