summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-19 00:30:23 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-19 00:30:23 +0300
commitfca6de3288adc230f0e42f82973697615932bbe8 (patch)
tree904e80ee873a0301b96e92c36c67a9ed7d150742 /src/resources
parentad8126fa429f74034c45a1b7d2bdf929473c882c (diff)
downloadmv-fca6de3288adc230f0e42f82973697615932bbe8.tar.gz
mv-fca6de3288adc230f0e42f82973697615932bbe8.tar.bz2
mv-fca6de3288adc230f0e42f82973697615932bbe8.tar.xz
mv-fca6de3288adc230f0e42f82973697615932bbe8.zip
add some more consts.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/spritedef.cpp3
-rw-r--r--src/resources/spritedef.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/resources/spritedef.cpp b/src/resources/spritedef.cpp
index 89450486d..2d5d25fb4 100644
--- a/src/resources/spritedef.cpp
+++ b/src/resources/spritedef.cpp
@@ -267,7 +267,8 @@ void SpriteDef::loadAction(const XmlNodePtr node, const int variant_offset)
}
void SpriteDef::loadAnimation(const XmlNodePtr animationNode,
- Action *const action, ImageSet *const imageSet,
+ Action *const action,
+ const ImageSet *const imageSet,
const int variant_offset) const
{
if (!action || !imageSet)
diff --git a/src/resources/spritedef.h b/src/resources/spritedef.h
index 6ef64bbae..533042c02 100644
--- a/src/resources/spritedef.h
+++ b/src/resources/spritedef.h
@@ -202,7 +202,8 @@ class SpriteDef final : public Resource
* Loads an animation element.
*/
void loadAnimation(const XmlNodePtr animationNode,
- Action *const action, ImageSet *const imageSet,
+ Action *const action,
+ const ImageSet *const imageSet,
const int variant_offset) const;
/**