diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-17 23:49:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-17 23:49:00 +0300 |
commit | bad30239e412c4e31aa8929039eaebc615d220ec (patch) | |
tree | 9e822218dac67707ac2d30b56c559e4c357c07b0 /src/resources/sprite | |
parent | 6a39f295e9e2c94dfcd3ce4c90415ae6bce20ef6 (diff) | |
download | manaverse-bad30239e412c4e31aa8929039eaebc615d220ec.tar.gz manaverse-bad30239e412c4e31aa8929039eaebc615d220ec.tar.bz2 manaverse-bad30239e412c4e31aa8929039eaebc615d220ec.tar.xz manaverse-bad30239e412c4e31aa8929039eaebc615d220ec.zip |
Remove default parameters from spritedef.
Diffstat (limited to 'src/resources/sprite')
-rw-r--r-- | src/resources/sprite/spritedef.cpp | 2 | ||||
-rw-r--r-- | src/resources/sprite/spritedef.h | 2 |
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. |