From 0cda45b8c1775c6a0f1bdf52c8801ccdfd21a8c7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 12 May 2016 14:59:21 +0300 Subject: Improve error messages in SpriteDef. --- src/resources/sprite/spritedef.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/resources/sprite/spritedef.h') diff --git a/src/resources/sprite/spritedef.h b/src/resources/sprite/spritedef.h index 2fdd1987b..3d56d2d89 100644 --- a/src/resources/sprite/spritedef.h +++ b/src/resources/sprite/spritedef.h @@ -72,16 +72,16 @@ class SpriteDef final : public Resource int calcMemoryChilds(const int level) const override final; - static bool addSequence(const int start, - const int end, - const int delay, - const int offsetX, - const int offsetY, - const int variant_offset, - int repeat, - const int rand, - const ImageSet *const imageSet, - Animation *const animation); + bool addSequence(const int start, + const int end, + const int delay, + const int offsetX, + const int offsetY, + const int variant_offset, + int repeat, + const int rand, + const ImageSet *const imageSet, + Animation *const animation) const; private: /** -- cgit v1.2.3-60-g2f50