summaryrefslogtreecommitdiff
path: root/src/resources/mapreader.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-29 18:16:18 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-29 18:26:49 +0300
commit6afd82349bca7e8f5580057e3c1b9133e51c60c2 (patch)
tree29795086a6569debbc78fab59820ea51002a1329 /src/resources/mapreader.cpp
parentcc78eca07666eec99f1a09d809568970e968b52d (diff)
downloadmv-6afd82349bca7e8f5580057e3c1b9133e51c60c2.tar.gz
mv-6afd82349bca7e8f5580057e3c1b9133e51c60c2.tar.bz2
mv-6afd82349bca7e8f5580057e3c1b9133e51c60c2.tar.xz
mv-6afd82349bca7e8f5580057e3c1b9133e51c60c2.zip
Add name into Animation memory object.
Diffstat (limited to 'src/resources/mapreader.cpp')
-rw-r--r--src/resources/mapreader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp
index 5d29c64f4..8fda33a9b 100644
--- a/src/resources/mapreader.cpp
+++ b/src/resources/mapreader.cpp
@@ -1085,7 +1085,7 @@ Tileset *MapReader::readTileset(XmlNodePtr node,
const int tileGID = firstGid + XML::getProperty(
childNode, "id", 0);
- Animation *ani = new Animation;
+ Animation *ani = new Animation("from map");
if (isProps)
{