From 4b08159c59c67950fccf0fc9a1d038d53ecb0203 Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 7 Apr 2003 01:44:56 +0000 Subject: [PATCH] fixed name of dpavi.wav file to work correctly with FS_Open (this is in commented out code though so it doesn't matter) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2926 d7cf8633-e32d-0410-b094-e92efae38249 --- snd_mix.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/snd_mix.c b/snd_mix.c index 790642cc..35b9dd51 100644 --- a/snd_mix.c +++ b/snd_mix.c @@ -40,8 +40,7 @@ void S_CaptureAVISound(portable_samplepair_t *buf, int length) { if (cl_avidemo_soundfile == NULL) { - sprintf (filename, "%s/dpavi.wav", com_gamedir); - cl_avidemo_soundfile = FS_Open (filename, "wb", false); + cl_avidemo_soundfile = FS_Open ("dpavi.wav", "wb", false); memset(out, 0, 44); fwrite(out, 1, 44, cl_avidemo_soundfile); // header will be filled out when file is closed -- 2.39.2