Small bugfix

This commit is contained in:
ehofman
2009-11-29 13:04:38 +01:00
committed by Tim Moore
parent d70a05a088
commit 2dcc66f03e
+1 -1
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;
}