diff options
Diffstat (limited to 'src/i_sound.c')
-rw-r--r-- | src/i_sound.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/i_sound.c b/src/i_sound.c index 6939e188..45ead1af 100644 --- a/src/i_sound.c +++ b/src/i_sound.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: i_sound.c 101 2005-09-11 20:53:17Z fraggle $ +// $Id: i_sound.c 102 2005-09-11 23:57:08Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -22,6 +22,9 @@ // 02111-1307, USA. // // $Log$ +// Revision 1.19 2005/09/11 23:57:08 fraggle +// Remove temporary MIDI files generated by sound code. +// // Revision 1.18 2005/09/11 20:53:17 fraggle // Fix sounds playing at the wrong volume (too quiet) // @@ -90,7 +93,7 @@ //----------------------------------------------------------------------------- static const char -rcsid[] = "$Id: i_sound.c 101 2005-09-11 20:53:17Z fraggle $"; +rcsid[] = "$Id: i_sound.c 102 2005-09-11 23:57:08Z fraggle $"; #include <stdio.h> #include <stdlib.h> @@ -605,6 +608,10 @@ void *I_RegisterSong(void *data, int len) fprintf(stderr, "Error loading midi\n"); } + + // remove file now + + remove(filename); } Z_Free(mididata); |