From 6afd82349bca7e8f5580057e3c1b9133e51c60c2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 29 Apr 2016 18:16:18 +0300 Subject: Add name into Animation memory object. --- src/resources/sprite/spritedef.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/sprite/spritedef.cpp') diff --git a/src/resources/sprite/spritedef.cpp b/src/resources/sprite/spritedef.cpp index a19c1b267..e0919b10b 100644 --- a/src/resources/sprite/spritedef.cpp +++ b/src/resources/sprite/spritedef.cpp @@ -316,7 +316,7 @@ void SpriteDef::loadAnimation(const XmlNodePtr animationNode, return; } - Animation *const animation = new Animation; + Animation *const animation = new Animation(directionName); action->setAnimation(directionType, animation); // Get animation frames -- cgit v1.2.3-60-g2f50