Modlist_Init: (win32) don't list "." as a mod.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1224 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
ewasylishen 2015-06-03 03:54:47 +00:00
parent d6ec440cad
commit a9dcbecf1f

View file

@ -247,6 +247,9 @@ void Modlist_Init (void)
do
{
if (!strcmp(fdat.cFileName, "."))
continue;
q_snprintf (mod_string, sizeof(mod_string), "%s/%s/progs.dat", com_basedir, fdat.cFileName);
mod_fhnd = FindFirstFile(mod_string, &mod_fdat);
if (mod_fhnd != INVALID_HANDLE_VALUE) {