diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/resources/sprite/spritedef.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/sprite/spritedef.cpp b/src/resources/sprite/spritedef.cpp index 85c5ba547..2f6fcaf65 100644 --- a/src/resources/sprite/spritedef.cpp +++ b/src/resources/sprite/spritedef.cpp @@ -353,7 +353,7 @@ void SpriteDef::loadAnimation(const XmlNodePtr animationNode, { imageSet = getImageSet(imageSetName); if (imageSet == nullptr) - imageSet = imageSet; + imageSet = imageSet0; } const int offsetX = XML::getProperty(frameNode, "offsetX", 0) + imageSet->getOffsetX() - imageSet->getWidth() / 2 |