From bad30239e412c4e31aa8929039eaebc615d220ec Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 17 Dec 2017 23:49:00 +0300 Subject: Remove default parameters from spritedef. --- src/resources/sprite/spritedef.cpp | 2 +- src/resources/sprite/spritedef.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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. -- cgit v1.2.3-70-g09d2