From 28ba81f82df8cb79993980297e7cb6ffb87d5030 Mon Sep 17 00:00:00 2001 From: rdb Date: Thu, 24 Apr 2014 13:01:01 +0000 Subject: [PATCH] Commit patch by cfsworks to properly mark OpenAL sounds as inactive when they are created while the manager is inactive --- panda/src/audiotraits/openalAudioSound.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/audiotraits/openalAudioSound.cxx b/panda/src/audiotraits/openalAudioSound.cxx index 54799c4114..af6d658568 100644 --- a/panda/src/audiotraits/openalAudioSound.cxx +++ b/panda/src/audiotraits/openalAudioSound.cxx @@ -64,7 +64,7 @@ OpenALAudioSound(OpenALAudioManager* manager, _start_time(0.0), _current_time(0.0), _basename(movie->get_filename().get_basename()), - _active(true), + _active(manager->get_active()), _paused(false) { _location[0] = 0.0f;