Sounds: Don't pause new sounds when paused

This commit is contained in:
Desour 2023-10-28 14:39:32 +02:00 committed by DS
parent 4ee32c5441
commit b2aa5d9261

@ -184,8 +184,7 @@ std::shared_ptr<PlayingSound> OpenALSoundManager::createPlayingSound(
volume, pitch, start_time, pos_vel_opt); volume, pitch, start_time, pos_vel_opt);
sound->play(); sound->play();
if (m_is_paused)
sound->pause();
warn_if_al_error("createPlayingSound"); warn_if_al_error("createPlayingSound");
return sound; return sound;
} }