mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
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:
parent
d6ec440cad
commit
a9dcbecf1f
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue