Fix mangos linux build

This commit is contained in:
Rochet2
2016-11-26 22:29:52 +02:00
committed by GitHub
parent ca8a22023b
commit 4aba0d6da2

View File

@@ -424,7 +424,7 @@ void Eluna::GetScripts(std::string path)
if (dwAttrib != INVALID_FILE_ATTRIBUTES && (dwAttrib & FILE_ATTRIBUTE_HIDDEN))
continue;
#else
std::string name = directory->d_name.c_str();
std::string name = directory->d_name;
if (name[0] == '.')
continue;
#endif