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:
parent
f4302d8313
commit
817d4beb1c
2 changed files with 23 additions and 21 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue