summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/resources/sprite/spritedef.cpp2
-rw-r--r--src/resources/sprite/spritedef.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/sprite/spritedef.cpp b/src/resources/sprite/spritedef.cpp
index aa79ef9f8..afa749cdb 100644
--- a/src/resources/sprite/spritedef.cpp
+++ b/src/resources/sprite/spritedef.cpp
@@ -516,7 +516,7 @@ void SpriteDef::includeSprite(XmlNodeConstPtr includeNode, const int variant)
return;
}
- loadSprite(rootNode, variant);
+ loadSprite(rootNode, variant, std::string());
doc->decRef();
}
diff --git a/src/resources/sprite/spritedef.h b/src/resources/sprite/spritedef.h
index fcb019d31..b2fceb2be 100644
--- a/src/resources/sprite/spritedef.h
+++ b/src/resources/sprite/spritedef.h
@@ -102,7 +102,7 @@ class SpriteDef final : public Resource
*/
void loadSprite(XmlNodeConstPtr spriteNode,
const int variant,
- const std::string &palettes = "");
+ const std::string &palettes);
/**
* Loads an imageset element.