diff --git a/src/client/sound/ogg.c b/src/client/sound/ogg.c index 7d588f2e..075cf709 100644 --- a/src/client/sound/ogg.c +++ b/src/client/sound/ogg.c @@ -185,14 +185,16 @@ OGG_InitTrackList(void) char testFileName[MAX_OSPATH]; - // the simple case (like before: $mod/music/02.ogg - 11.ogg or whatever) + /* the simple case (like before: $mod/music/02.ogg - 11.ogg or whatever) */ snprintf(testFileName, MAX_OSPATH, "%s02.ogg", fullMusicPath); if(Sys_IsFile(testFileName)) { + int i; + ogg_tracks[2] = strdup(testFileName); - for(int i=3; i