aboutsummaryrefslogtreecommitdiff
path: root/sword2/driver/d_draw.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sword2/driver/d_draw.cpp')
-rw-r--r--sword2/driver/d_draw.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/sword2/driver/d_draw.cpp b/sword2/driver/d_draw.cpp
index f9930cb118..6821df34bd 100644
--- a/sword2/driver/d_draw.cpp
+++ b/sword2/driver/d_draw.cpp
@@ -322,5 +322,12 @@ int32 PlaySmacker(char *filename, _movieTextObject *text[], uint8 *musicOut) {
BS2_SetPalette(0, 256, oldPal, RDPAL_INSTANT);
}
+ // Lead-in and lead-out music are, as far as I can tell, only used for
+ // the animated cut-scenes, so this seems like a good place to close
+ // both of them.
+
+ g_sound->closeFx(-1);
+ g_sound->closeFx(-2);
+
return RD_OK;
}