Commit patch by cfsworks to properly mark OpenAL sounds as inactive when they are created while the manager is inactive

This commit is contained in:
rdb 2014-04-24 13:01:01 +00:00
parent e665c2a908
commit 28ba81f82d

View File

@ -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;