Skip to content

Commit 5fb7ce7

Browse files
committed
Fixed music playback after coming back from the intro cutscene
1 parent 7ccd517 commit 5fb7ce7

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

Diff for: src/GameSrc/audiolog.c

+4
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,10 @@ void audiolog_stop() {
234234
}
235235
*/
236236

237+
if(alog_fn < 0) {
238+
return;
239+
}
240+
237241
if (alog_fn >= 0)
238242
{
239243
ResCloseFile(alog_fn);

Diff for: src/GameSrc/cutsloop.c

+1
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ void cutscene_start() {
122122

123123
void cutscene_exit() {
124124
DEBUG("Cutscene exit");
125+
MacTuneKillCurrentTheme();
125126
}
126127

127128
void cutscene_loop() {

Diff for: src/GameSrc/setup.c

-2
Original file line numberDiff line numberDiff line change
@@ -1283,9 +1283,7 @@ void setup_start() {
12831283
}
12841284
}
12851285
if (!start_first_time) {
1286-
// start_setup_sound();
12871286
closedown_game(TRUE);
1288-
start_setup_sound(0);
12891287
}
12901288
start_first_time = FALSE;
12911289

0 commit comments

Comments
 (0)