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