summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-01-24 22:09:22 +0200
committerAndrei Karas <akaras@inbox.ru>2011-01-24 22:10:22 +0200
commit4ecb9b5bc6bbc49296bccc9004d563fb0e33a5a1 (patch)
treedd57244248fe7db0cd4331d178555036e60ea2dd
parent79d88fe4045ea209c7ec3612edb5b96044c6e1f2 (diff)
downloadmanaverse-4ecb9b5bc6bbc49296bccc9004d563fb0e33a5a1.tar.gz
manaverse-4ecb9b5bc6bbc49296bccc9004d563fb0e33a5a1.tar.bz2
manaverse-4ecb9b5bc6bbc49296bccc9004d563fb0e33a5a1.tar.xz
manaverse-4ecb9b5bc6bbc49296bccc9004d563fb0e33a5a1.zip
Fix in fixing job level after level up in broken servers.
-rw-r--r--src/gui/statuswindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/statuswindow.cpp b/src/gui/statuswindow.cpp
index d2460f68e..58d3d0957 100644
--- a/src/gui/statuswindow.cpp
+++ b/src/gui/statuswindow.cpp
@@ -357,8 +357,8 @@ void StatusWindow::event(Channels channel _UNUSED_,
lvl ++;
blocked = true;
PlayerInfo::setStatExperience(id, exp.first, 20000 + lvl * 150);
+ PlayerInfo::setStatBase(id, lvl);
blocked = false;
-// PlayerInfo::setStatBase(id, lvl);
}
mJobLvlLabel->setCaption(strprintf(_("Job: %d"), lvl));