1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-10-04 05:13:19 +00:00

Fix tinyXML2 misuse; simplify scene saving code a little

This commit is contained in:
fgenesis 2014-06-10 02:18:55 +02:00
commit 817d4beb1c
2 changed files with 23 additions and 21 deletions

View file

@ -1044,7 +1044,7 @@ bool SkeletalSprite::saveSkeletal(const std::string &fn)
animations->InsertEndChild(animation);
}
xml->InsertEndChild(animations);
return xml->SaveFile(file.c_str());
return xml->SaveFile(file.c_str()) == XML_SUCCESS;
}
int SkeletalSprite::getBoneIdx(Bone *b)