summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp6
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)));
}
}