diff --git a/src/items/powerup.cpp b/src/items/powerup.cpp index ca669e551..c1572f7fc 100644 --- a/src/items/powerup.cpp +++ b/src/items/powerup.cpp @@ -325,6 +325,11 @@ void Powerup::use() } } + if (m_sound_use != NULL) + { + m_sound_use->deleteSFX(); + m_sound_use = NULL; + } m_sound_use = SFXManager::get()->createSoundSource("inflate");//Extraordinary. Usually sounds are set in Powerup::set() //In this case this is a workaround, since the bubblegum item has two different sounds. diff --git a/src/tracks/track.cpp b/src/tracks/track.cpp index 1a32ac064..b6b9fad50 100644 --- a/src/tracks/track.cpp +++ b/src/tracks/track.cpp @@ -2030,11 +2030,6 @@ void Track::loadObjects(const XMLNode* root, const std::string& path, ModelDefin m_sky_particles = ParticleKindManager::get()->getParticles(weather_particles); } - else - { - Log::error("track", "Bad weather node found - ignored.\n"); - continue; - } } else if (name == "sun") {