Commit 65c78b9f authored by mercury233's avatar mercury233

fix

parent 456c53fb
...@@ -681,12 +681,6 @@ bool Game::Initialize() { ...@@ -681,12 +681,6 @@ bool Game::Initialize() {
} }
engineSound = irrklang::createIrrKlangDevice(); engineSound = irrklang::createIrrKlangDevice();
engineMusic = irrklang::createIrrKlangDevice(); engineMusic = irrklang::createIrrKlangDevice();
#ifdef IRRKLANG_STATIC
if(engineMusic) {
irrklang::ikpMP3Init(engineSound);
irrklang::ikpMP3Init(engineMusic);
}
#endif
if(!engineSound || !engineMusic) { if(!engineSound || !engineMusic) {
chkEnableSound->setChecked(false); chkEnableSound->setChecked(false);
chkEnableSound->setEnabled(false); chkEnableSound->setEnabled(false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment