diff --git a/code/client/snd_codec.c b/code/client/snd_codec.c index dc027e94..d22a0971 100644 --- a/code/client/snd_codec.c +++ b/code/client/snd_codec.c @@ -90,7 +90,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/code/client/snd_codec_ogg.c b/code/client/snd_codec_ogg.c index 7459ba08..511de719 100644 --- a/code/client/snd_codec_ogg.c +++ b/code/client/snd_codec_ogg.c @@ -41,7 +41,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/code/client/snd_codec_wav.c b/code/client/snd_codec_wav.c index 63f16f2c..ef0e15e6 100644 --- a/code/client/snd_codec_wav.c +++ b/code/client/snd_codec_wav.c @@ -183,7 +183,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,