]> git.mxchange.org Git - simgear.git/commitdiff
Whoops, fix bad #ifdef to disable sound. Bug #958
authorJames Turner <zakalawe@mac.com>
Wed, 12 Dec 2012 11:16:29 +0000 (11:16 +0000)
committerJames Turner <zakalawe@mac.com>
Wed, 12 Dec 2012 11:16:29 +0000 (11:16 +0000)
simgear/sound/soundmgr_openal.cxx

index 1a16eed78a811978db5cd90146120bbdbf795ac1..910653b1ab27fe3827c460a2667010c2b48b9c5a 100644 (file)
@@ -253,7 +253,6 @@ void SGSoundMgr::init()
 
 void SGSoundMgr::reinit()
 {
-#ifndef ENABLE_SOUND
     bool was_active = _active;
 
     if (was_active)
@@ -266,7 +265,6 @@ void SGSoundMgr::reinit()
 
     if (was_active)
         resume();
-#endif
 }
 
 void SGSoundMgr::activate()