Don't play music in first Kline battle when music is disabled.
This commit is contained in:
parent
1d25dd0379
commit
fdd63c14cc
|
@ -507,7 +507,8 @@ 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");
|
||||||
Mix_PlayMusic(engine.music, -1);
|
if ((engine.useAudio) && (engine.useMusic))
|
||||||
|
Mix_PlayMusic(engine.music, -1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue