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:
parent
778a275ce2
commit
236096683a
1 changed files with 1 additions and 4 deletions
|
@ -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();
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue