diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-07-13 20:50:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-07-13 20:50:34 +0300 |
commit | 5525260f78c1fcab1887cdc95ebcc6790fb34b5b (patch) | |
tree | bd8ee201beef1fc3bbbe48890f9695b6c39c874b /src/being | |
parent | 1f72c8a3f380325f5f4a82137f8bac02362916df (diff) | |
download | manaverse-5525260f78c1fcab1887cdc95ebcc6790fb34b5b.tar.gz manaverse-5525260f78c1fcab1887cdc95ebcc6790fb34b5b.tar.bz2 manaverse-5525260f78c1fcab1887cdc95ebcc6790fb34b5b.tar.xz manaverse-5525260f78c1fcab1887cdc95ebcc6790fb34b5b.zip |
Allow use different badges for each group in groups.xml
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/being.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp index 147be14a4..56f22a1d5 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -3504,7 +3504,7 @@ void Being::showGmBadge(const bool show) restrict2 mShowBadges != 0u && GroupDb::getShowBadge(mGroupId)) { - const std::string gmBadge = paths.getStringValue("gmbadge"); + const std::string gmBadge = GroupDb::getBadge(mGroupId); if (!gmBadge.empty()) { mBadges[BadgeIndex::Gm] = AnimatedSprite::load( |