aboutsummaryrefslogtreecommitdiffstats
path: root/code/client
diff options
context:
space:
mode:
Diffstat (limited to 'code/client')
-rw-r--r--code/client/snd_codec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/code/client/snd_codec.c b/code/client/snd_codec.c
index 41456ce..0483e8d 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--;
}