1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-01-24 17:26:41 +00:00

Fix bug that a bone's rq="0" attribute would disappear when skel was saved while visible

This commit is contained in:
fgenesis 2019-09-06 02:56:53 +02:00
parent 61f1e87180
commit 1de786efc6

View file

@ -895,7 +895,7 @@ bool SkeletalSprite::saveSkeletal(const std::string &fn)
bone->SetAttribute("fv", this->bones[i]->isfv());
bone->SetAttribute("gc", this->bones[i]->generateCollisionMask);
bone->SetAttribute("cr", this->bones[i]->collideRadius);
if (!this->bones[i]->renderQuad)
if (!this->bones[i]->fileRenderQuad)
{
bone->SetAttribute("rq", this->bones[i]->fileRenderQuad);
}