Fixed windows compatibility.

This commit is contained in:
Miroslav Bendík 2012-09-01 16:01:08 +02:00
parent 112ccc5d08
commit 88bf8bc88b

@ -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;
}