From 087fd3377c186dc4f69d99ea0a9bbea960f9dd65 Mon Sep 17 00:00:00 2001 From: Sergio Valor Date: Mon, 4 Nov 2024 19:16:44 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20els=20globos=20verds,=20al=20popparlos,?= =?UTF-8?q?=20uno=20tirava=20cap=20avall=20el=20molt=20cabr=C3=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/game.cpp b/source/game.cpp index b9ce499..fc75e77 100644 --- a/source/game.cpp +++ b/source/game.cpp @@ -487,7 +487,7 @@ void Game::createChildBalloon(const std::shared_ptr &balloon, const std const auto lower_size = static_cast(static_cast(balloon->getSize()) - 1); auto b = createBalloon(0, balloon->getPosY(), balloon->getType(), lower_size, vx, balloon_speed_, 0); b->alignTo(balloon->getPosX() + (balloon->getWidth() / 2)); - b->setVelY(b->getType() == BalloonType::BALLOON ? -2.50f : vx * 2.0f); + b->setVelY(b->getType() == BalloonType::BALLOON ? -2.50f : BALLOON_VELX_NEGATIVE * 2.0f); if (balloon->isStopped()) b->stop(); if (balloon->isUsingReversedColor())