summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-10 20:30:10 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-10 20:30:10 +0300
commit890fd4c9ceab089de688b00acf5163d795ccec4a (patch)
treebcaf7fb78fdb6a0fb426f2abe9a9636cb2050076 /src/gui
parent7c6f3d5a9cc4e83520dc8c2ac75ec987e730d381 (diff)
downloadmanaverse-890fd4c9ceab089de688b00acf5163d795ccec4a.tar.gz
manaverse-890fd4c9ceab089de688b00acf5163d795ccec4a.tar.bz2
manaverse-890fd4c9ceab089de688b00acf5163d795ccec4a.tar.xz
manaverse-890fd4c9ceab089de688b00acf5163d795ccec4a.zip
eathena: add packet SMSG_BEING_ATTRS 0x0b0a.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windows/statuswindow.cpp5
-rw-r--r--src/gui/windows/statuswindow.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/windows/statuswindow.cpp b/src/gui/windows/statuswindow.cpp
index db03fbe70..d16262cc1 100644
--- a/src/gui/windows/statuswindow.cpp
+++ b/src/gui/windows/statuswindow.cpp
@@ -240,6 +240,11 @@ StatusWindow::StatusWindow() :
PlayerInfo::getAttribute(Attributes::CHAR_POINTS)));
mCharacterPointsLabel->adjustSize();
+ updateLevelLabel();
+}
+
+void StatusWindow::updateLevelLabel()
+{
if (localPlayer && localPlayer->isGM())
{
// TRANSLATORS: status window label
diff --git a/src/gui/windows/statuswindow.h b/src/gui/windows/statuswindow.h
index 3bc5ab6f3..34462498b 100644
--- a/src/gui/windows/statuswindow.h
+++ b/src/gui/windows/statuswindow.h
@@ -93,6 +93,8 @@ class StatusWindow final : public Window,
const int oldVal1,
const int oldVal2) override final;
+ void updateLevelLabel();
+
private:
static std::string translateLetter(const char *const letters);
static std::string translateLetter2(const std::string &letters);