diff --git a/code/client/snd_codec.c b/code/client/snd_codec.c index 41456ce2..0483e8df 100644 --- a/code/client/snd_codec.c +++ b/code/client/snd_codec.c @@ -41,7 +41,10 @@ static char *S_FileExtension(const char *fni) while(*fn != '/' && fn != fni) { if(*fn == '.') + { eptr = fn; + break; + } fn--; }