diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-07-12 19:32:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-07-12 21:12:24 +0300 |
commit | 03948f9bc58477100c61c11651290bee372dab5f (patch) | |
tree | 3714e87d59c3bca2ef02d1f405abba24f8bb9757 /src/gui/windows | |
parent | acedb80af76334b0e0acd877d3de0ab8ab46a576 (diff) | |
download | manaverse-03948f9bc58477100c61c11651290bee372dab5f.tar.gz manaverse-03948f9bc58477100c61c11651290bee372dab5f.tar.bz2 manaverse-03948f9bc58477100c61c11651290bee372dab5f.tar.xz manaverse-03948f9bc58477100c61c11651290bee372dab5f.zip |
Rename gm level into group id in localplayer.cpp
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/chatwindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/ministatuswindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/statuswindow.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp index 279d1c712..0c7123631 100644 --- a/src/gui/windows/chatwindow.cpp +++ b/src/gui/windows/chatwindow.cpp @@ -2139,7 +2139,7 @@ void ChatWindow::showGMTab() { if ((gmChatTab == nullptr) && config.getBoolValue("enableGmTab") && - localPlayer->getGMLevel() >= paths.getIntValue("gmTabMinimalLevel")) + localPlayer->getGroupId() >= paths.getIntValue("gmTabMinimalLevel")) { addSpecialChannelTab(GM_CHANNEL, false); } diff --git a/src/gui/windows/ministatuswindow.cpp b/src/gui/windows/ministatuswindow.cpp index 312dd488a..ec27469ad 100644 --- a/src/gui/windows/ministatuswindow.cpp +++ b/src/gui/windows/ministatuswindow.cpp @@ -357,7 +357,7 @@ void MiniStatusWindow::mouseMoved(MouseEvent &event) // TRANSLATORS: status bar label level = strprintf(_("Level: %d (GM %d)"), PlayerInfo::getAttribute(Attributes::PLAYER_LEVEL), - localPlayer->getGMLevel()); + localPlayer->getGroupId()); } else { diff --git a/src/gui/windows/statuswindow.cpp b/src/gui/windows/statuswindow.cpp index 9fe112f78..5e79f6b73 100644 --- a/src/gui/windows/statuswindow.cpp +++ b/src/gui/windows/statuswindow.cpp @@ -264,7 +264,7 @@ void StatusWindow::updateLevelLabel() // TRANSLATORS: status window label mLvlLabel->setCaption(strprintf(_("Level: %d (GM %d)"), PlayerInfo::getAttribute(Attributes::PLAYER_LEVEL), - localPlayer->getGMLevel())); + localPlayer->getGroupId())); } else { |