Trabajando en el menu del titulo

This commit is contained in:
2022-08-24 22:39:36 +02:00
parent 1f4d094593
commit a0613ddd8d
9 changed files with 126 additions and 113 deletions

View File

@@ -18,7 +18,7 @@ AnimatedSprite::AnimatedSprite(LTexture *texture, SDL_Renderer *renderer, std::s
// Destructor
AnimatedSprite::~AnimatedSprite()
{
for (auto a : animation)
for (auto &a : animation)
{
a.frames.clear();
}