mirror of
https://github.com/minetest/minetestmapper.git
synced 2024-12-26 10:50:40 +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;
|
struct dirent *ent;
|
||||||
while ((ent = readdir (dir)) != NULL) {
|
while ((ent = readdir (dir)) != NULL) {
|
||||||
if (ent->d_type == DT_DIR) {
|
if (ent->d_name[0] == '.') {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user