From 88bf8bc88b93c0e3ae472cb6769ecca55fc1390e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Bend=C3=ADk?= Date: Sat, 1 Sep 2012 16:01:08 +0200 Subject: [PATCH] Fixed windows compatibility. --- TileGenerator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TileGenerator.cpp b/TileGenerator.cpp index ce9caba..d307dee 100644 --- a/TileGenerator.cpp +++ b/TileGenerator.cpp @@ -575,7 +575,7 @@ void TileGenerator::renderPlayers(const std::string &inputPath) struct dirent *ent; while ((ent = readdir (dir)) != NULL) { - if (ent->d_type == DT_DIR) { + if (ent->d_name[0] == '.') { continue; }