diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-10-04 04:08:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-10-04 04:08:44 +0300 |
commit | e4168f2b98954288f19b91132574a475b47fded8 (patch) | |
tree | 785f6adac9de88e6505669129a1bbae0bf86f473 /src/resources | |
parent | 29549cf31a03e2ac7290afaa7442b3b9519d4e7c (diff) | |
download | manaplus-e4168f2b98954288f19b91132574a475b47fded8.tar.gz manaplus-e4168f2b98954288f19b91132574a475b47fded8.tar.bz2 manaplus-e4168f2b98954288f19b91132574a475b47fded8.tar.xz manaplus-e4168f2b98954288f19b91132574a475b47fded8.zip |
Fix fallback code in spritedef.cpp
Diffstat (limited to 'src/resources')
-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 |