mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-02 22:11:22 +00:00
Modlist_Init: (win32) don't list "." as a mod.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1224 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
d1d57c3fc6
commit
84bd3944b2
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