Don't play music in first Kline battle when music is disabled.

This commit is contained in:
Guus Sliepen 2011-09-18 00:54:44 +02:00
parent 1d25dd0379
commit fdd63c14cc
1 changed files with 2 additions and 1 deletions

View File

@ -507,7 +507,8 @@ static char revealHiddenObjectives()
enemy[WC_KLINE].flags |= FL_IMMORTAL | FL_NOFIRE;
setTarget(WC_KLINE);
loadMusic("music/TranceGeneration.mod");
Mix_PlayMusic(engine.music, -1);
if ((engine.useAudio) && (engine.useMusic))
Mix_PlayMusic(engine.music, -1);
}
}