bug fix: en el modo demo la powerball feia ruido.

Resol #84
This commit is contained in:
2025-08-24 14:57:08 +02:00
parent 6e81b6e60c
commit fe950e6f17
2 changed files with 18 additions and 26 deletions

View File

@@ -209,6 +209,9 @@ void BalloonManager::createPowerBall() {
balloons_.emplace_back(std::make_unique<Balloon>(POS_X[LUCK], POS_Y, Balloon::Type::POWERBALL, Balloon::Size::EXTRALARGE, VEL_X[LUCK], balloon_speed_, CREATION_TIME, play_area_, balloon_textures_[4], balloon_animations_[4]));
balloons_.back()->setInvulnerable(true);
balloons_.back()->setSound(sound_enabled_);
balloons_.back()->setBouncingSound(bouncing_sound_enabled_);
balloons_.back()->setPoppingSound(poping_sound_enabled_);
power_ball_enabled_ = true;
power_ball_counter_ = Balloon::POWERBALL_COUNTER;