Small bugfix

This commit is contained in:
ehofman 2009-11-28 10:48:17 +00:00 committed by Tim Moore
parent d70a05a088
commit 2dcc66f03e

View File

@ -102,7 +102,7 @@ void SGSoundMgr::init(const char *devname) {
ALCdevice *device = alcOpenDevice(devname);
if ( testForError(device, "Audio device not available, trying default") ) {
ALCdevice *device = alcOpenDevice(NULL);
device = alcOpenDevice(NULL);
if (testForError(device, "Default Audio device not available.") ) {
return;
}