]> git.mxchange.org Git - flightgear.git/commit
Don't crash on start-up when avionics sound is disabled.
authorThorstenB <brehmt@gmail.com>
Thu, 22 Mar 2012 22:36:39 +0000 (23:36 +0100)
committerThorstenB <brehmt@gmail.com>
Thu, 22 Mar 2012 22:36:39 +0000 (23:36 +0100)
commit7d37f6af585cf45a4f76925c9de1847923863555
tree69bfd94147633f065eb659ed607bb91ae313f771
parent22c20a2f0959f82553b56b26310bbd78dc1d583b
Don't crash on start-up when avionics sound is disabled.
FGFX::init/soundfx::init use "_avionics" unconditionally, so it has to be
valid, even when avionics sound is disabled. Also allow to properly
enable/disable avioncis sound at run-time.
src/Sound/fg_fx.cxx