Remove this check since I got confused as to why my sound still wasn't working even after I had fixed the lock caused by bad flash plugin and restarted hedgewars
authornemo
Sun, 26 Jul 2009 19:43:38 +0000
changeset 2276 d4d9e490d534
parent 2275 3f56c99a70f8
child 2277 a9c0b37955fa
Remove this check since I got confused as to why my sound still wasn't working even after I had fixed the lock caused by bad flash plugin and restarted hedgewars
QTfrontend/gameuiconfig.cpp
--- a/QTfrontend/gameuiconfig.cpp	Sun Jul 26 19:19:03 2009 +0000
+++ b/QTfrontend/gameuiconfig.cpp	Sun Jul 26 19:43:38 2009 +0000
@@ -46,8 +46,8 @@
 
 	Form->ui.pageOptions->CBReduceQuality->setChecked(value("video/reducequality", false).toBool());
 	Form->ui.pageOptions->CBFrontendEffects->setChecked(frontendEffects);
-	Form->ui.pageOptions->CBEnableSound->setChecked(openal_ready() && value("audio/sound", true).toBool());
-	Form->ui.pageOptions->CBEnableMusic->setChecked(openal_ready() && value("audio/music", true).toBool());
+	Form->ui.pageOptions->CBEnableSound->setChecked(value("audio/sound", true).toBool());
+	Form->ui.pageOptions->CBEnableMusic->setChecked(value("audio/music", true).toBool());
 	Form->ui.pageOptions->volumeBox->setValue(value("audio/volume", 100).toUInt());
 
 	Form->ui.pageOptions->editNetNick->setText(value("net/nick", QLineEdit::tr("unnamed")).toString());