Treballant en els game_texts

This commit is contained in:
2024-10-15 14:02:37 +02:00
parent 3b9885ab03
commit 3fdd60c9e2
5 changed files with 136 additions and 163 deletions

View File

@@ -127,7 +127,7 @@ void SmartSprite::checkMove()
void SmartSprite::checkFinished()
{
// Comprueba si ha llegado a su destino
on_destination_ = (getPosX() == dest_x_ && getPosY() == dest_y_) ? true : false;
on_destination_ = (getPosX() == dest_x_ && getPosY() == dest_y_);
if (on_destination_)
{