summaryrefslogtreecommitdiff
path: root/src/resources/spritedef.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/spritedef.h')
-rw-r--r--src/resources/spritedef.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/resources/spritedef.h b/src/resources/spritedef.h
index 02090e809..08cb0d2b9 100644
--- a/src/resources/spritedef.h
+++ b/src/resources/spritedef.h
@@ -118,7 +118,8 @@ class SpriteDef final : public Resource
* Loads a sprite definition file.
*/
static SpriteDef *load(const std::string &file,
- const int variant, bool prot) A_WARN_UNUSED;
+ const int variant,
+ const bool prot) A_WARN_UNUSED;
/**
* Returns the specified action.
@@ -199,7 +200,8 @@ class SpriteDef final : public Resource
* When there are no animations defined for the action "complete", its
* animations become a copy of those of the action "with".
*/
- void substituteAction(std::string complete, std::string with);
+ void substituteAction(const std::string &complete,
+ const std::string &with);
typedef std::map<std::string, ImageSet*> ImageSets;
typedef ImageSets::iterator ImageSetIterator;