mirror of
https://github.com/minetest/minetestmapper.git
synced 2024-11-25 00:43:51 +01:00
Fixed windows compatibility.
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user