1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-12-29 00:05:50 +00:00

Clear animLayers properly

This commit is contained in:
fgenesis 2015-06-03 04:04:19 +02:00
parent 778a275ce2
commit 236096683a

View file

@ -1291,10 +1291,7 @@ void SkeletalSprite::loadSkeletal(const std::string &fn)
filenameLoaded = "";
loaded = false;
stopAnimation();
for (int i = 0; i < animLayers.size(); i++)
{
animLayers[i].currentAnimation = 0;
}
animLayers.clear();
deleteBones();