summaryrefslogtreecommitdiff
path: root/src/statuseffect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/statuseffect.cpp')
-rw-r--r--src/statuseffect.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/statuseffect.cpp b/src/statuseffect.cpp
index 5143086df..4a26fc78c 100644
--- a/src/statuseffect.cpp
+++ b/src/statuseffect.cpp
@@ -92,8 +92,8 @@ AnimatedSprite *StatusEffect::getIcon() const
}
else
{
- return AnimatedSprite::load(paths.getStringValue(
- "sprites").append(mIcon));
+ return AnimatedSprite::load(pathJoin(paths.getStringValue("sprites"),
+ mIcon));
}
}