From 8290f1ab7f54eea8a834155df9a6751ca4682bc9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 28 Jul 2015 14:53:23 +0300 Subject: Use variables from paths.xml for team badges file name. --- src/being/being.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/being/being.cpp') 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))); } } -- cgit v1.2.3-70-g09d2