1
0
Fork 0

Really catch sound exceptions, and avoid exiting on this kind of error :

OpenAL error (AL_INVALID_VALUE): constructor (alBufferData)
Failed to buffer data.
This commit is contained in:
fredb 2008-12-12 07:35:39 +00:00
parent 6a154a59e1
commit 0dd1c66f95

View file

@ -103,7 +103,7 @@ FGFX::init()
globals->get_soundmgr(), globals->get_fg_root());
_sound.push_back(sound);
} catch ( sg_io_exception &e ) {
} catch ( sg_exception &e ) {
SG_LOG(SG_GENERAL, SG_ALERT, e.getFormattedMessage());
delete sound;
}