diff options
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/snd_codec.c | 2 | ||||
-rw-r--r-- | src/client/snd_codec_ogg.c | 2 | ||||
-rw-r--r-- | src/client/snd_codec_wav.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/client/snd_codec.c b/src/client/snd_codec.c index 61403148..6cec3375 100644 --- a/src/client/snd_codec.c +++ b/src/client/snd_codec.c @@ -91,7 +91,7 @@ static void *S_CodecGetSound(const char *filename, snd_info_t *info) if( codec == orgCodec ) continue; - Com_sprintf( altName, sizeof (altName), "%s%s", localName, codec->ext ); + Com_sprintf( altName, sizeof (altName), "%s.%s", localName, codec->ext ); // Load if( info ) diff --git a/src/client/snd_codec_ogg.c b/src/client/snd_codec_ogg.c index 0ca2f689..70ff3009 100644 --- a/src/client/snd_codec_ogg.c +++ b/src/client/snd_codec_ogg.c @@ -42,7 +42,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA // Q3 OGG codec snd_codec_t ogg_codec = { - ".ogg", + "ogg", S_OGG_CodecLoad, S_OGG_CodecOpenStream, S_OGG_CodecReadStream, diff --git a/src/client/snd_codec_wav.c b/src/client/snd_codec_wav.c index 1655a10e..adba7568 100644 --- a/src/client/snd_codec_wav.c +++ b/src/client/snd_codec_wav.c @@ -184,7 +184,7 @@ static qboolean S_ReadRIFFHeader(fileHandle_t file, snd_info_t *info) // WAV codec snd_codec_t wav_codec = { - ".wav", + "wav", S_WAV_CodecLoad, S_WAV_CodecOpenStream, S_WAV_CodecReadStream, |