diff options
Diffstat (limited to 'src/resources/emotedb.cpp')
-rw-r--r-- | src/resources/emotedb.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/resources/emotedb.cpp b/src/resources/emotedb.cpp index d352e79c3..7e923c034 100644 --- a/src/resources/emotedb.cpp +++ b/src/resources/emotedb.cpp @@ -91,8 +91,8 @@ void EmoteDB::load() { EmoteSprite *const currentSprite = new EmoteSprite; std::string file = paths.getStringValue("sprites") - + std::string(reinterpret_cast<const char*>( - spriteNode->xmlChildrenNode->content)); + .append(std::string(reinterpret_cast<const char*>( + spriteNode->xmlChildrenNode->content))); currentSprite->sprite = AnimatedSprite::load(file, XML::getProperty(spriteNode, "variant", 0)); currentSprite->name = XML::langProperty( @@ -147,8 +147,8 @@ void EmoteDB::load() { EmoteSprite *const currentSprite = new EmoteSprite; std::string file = paths.getStringValue("sprites") - + std::string(reinterpret_cast<const char*>( - spriteNode->xmlChildrenNode->content)); + .append(std::string(reinterpret_cast<const char*>( + spriteNode->xmlChildrenNode->content))); currentSprite->sprite = AnimatedSprite::load(file, XML::getProperty(spriteNode, "variant", 0)); currentSprite->name = XML::langProperty( |