diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-07-28 14:53:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-07-28 14:53:23 +0300 |
commit | 8290f1ab7f54eea8a834155df9a6751ca4682bc9 (patch) | |
tree | 944d1a09a740a302ba01f98ce4a8eed89c84d68d /src/being/being.cpp | |
parent | 009b8bb6528cd3380474dc5ba29903c55c8f6fef (diff) | |
download | plus-8290f1ab7f54eea8a834155df9a6751ca4682bc9.tar.gz plus-8290f1ab7f54eea8a834155df9a6751ca4682bc9.tar.bz2 plus-8290f1ab7f54eea8a834155df9a6751ca4682bc9.tar.xz plus-8290f1ab7f54eea8a834155df9a6751ca4682bc9.zip |
Use variables from paths.xml for team badges file name.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r-- | src/being/being.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp index 4112ef634..363ff6c5f 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -3713,9 +3713,9 @@ void Being::showBadges(const bool show) if (show && mTeamId) { mTeamBadge = AnimatedSprite::load( - strprintf("%steam%d.xml", - paths.getStringValue("badges").c_str(), - mTeamId)); + paths.getStringValue("badges") + + paths.getStringValue(strprintf("team%dbadge", + mTeamId))); } } |