Arreglado el nuevo bug que animaba a los enemigos dos veces

This commit is contained in:
2022-08-30 21:57:01 +02:00
parent 93febf3127
commit 1458658f4d

View File

@@ -53,7 +53,7 @@ void Enemy::render()
void Enemy::update() void Enemy::update()
{ {
sprite->update(); sprite->update();
sprite->animate(); //sprite->animate();
checkPath(); checkPath();
collider = getRect(); collider = getRect();
} }