Fix music not looping.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5675 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2020-04-19 10:17:11 +00:00
parent 9c0c6c5cc1
commit 5b6b902c29
1 changed files with 2 additions and 2 deletions

View File

@ -377,8 +377,8 @@ qboolean Media_CleanupTrackName(const char *track, int *out_track, char *result,
#ifndef HAVE_LEGACY
if (!tracknum) //might as well require exact file
{
Q_snprintfz(trackname, sizeof(trackname), "%s", track);
d = COM_FCheckExists(trackname);
Q_snprintfz(result, resultsize, "%s", track);
d = COM_FCheckExists(result);
}
else
#endif