summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-13 20:50:34 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-13 20:50:34 +0300
commit5525260f78c1fcab1887cdc95ebcc6790fb34b5b (patch)
treebd8ee201beef1fc3bbbe48890f9695b6c39c874b /src/being
parent1f72c8a3f380325f5f4a82137f8bac02362916df (diff)
downloadmanaplus-5525260f78c1fcab1887cdc95ebcc6790fb34b5b.tar.gz
manaplus-5525260f78c1fcab1887cdc95ebcc6790fb34b5b.tar.bz2
manaplus-5525260f78c1fcab1887cdc95ebcc6790fb34b5b.tar.xz
manaplus-5525260f78c1fcab1887cdc95ebcc6790fb34b5b.zip
Allow use different badges for each group in groups.xml
Diffstat (limited to 'src/being')
-rw-r--r--src/being/being.cpp2
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(