Don't treat ".svn" as a mod, even if it is in the autoload dir.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9454 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
d7d4c258c4
commit
683c03f999
|
@ -169,7 +169,7 @@ void addSubdirs( const char * basedir, const char * subdir, const bool appendToP
|
|||
#ifdef DEBUG
|
||||
debug( LOG_NEVER, "addSubdirs: Examining subdir: [%s]", *i );
|
||||
#endif // DEBUG
|
||||
if( !checkList || inList( checkList, *i ) )
|
||||
if (*i[0] != '.' && (!checkList || inList(checkList, *i)))
|
||||
{
|
||||
snprintf(tmpstr, sizeof(tmpstr), "%s%s%s%s", basedir, subdir, PHYSFS_getDirSeparator(), *i);
|
||||
#ifdef DEBUG
|
||||
|
|
Loading…
Reference in New Issue