summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-14 23:16:17 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-14 23:16:17 +0300
commit97b9d7cc85e82114b21c3316f671b37a9beb43c7 (patch)
treea29e1dadeee01808556fe770834e894f37557f5b
parent721702383e089f5a0502fa0e8fc14dfbd9dbaf42 (diff)
downloadmv-97b9d7cc85e82114b21c3316f671b37a9beb43c7.tar.gz
mv-97b9d7cc85e82114b21c3316f671b37a9beb43c7.tar.bz2
mv-97b9d7cc85e82114b21c3316f671b37a9beb43c7.tar.xz
mv-97b9d7cc85e82114b21c3316f671b37a9beb43c7.zip
Add missing reference.
-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 508104d27..26ed555c2 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 = GroupDb::getBadge(mGroupId);
+ const std::string &gmBadge = GroupDb::getBadge(mGroupId);
if (!gmBadge.empty())
{
mBadges[BadgeIndex::Gm] = AnimatedSprite::load(