mirror of
https://github.com/minetest/minetestmapper.git
synced 2025-02-09 16:50:40 +01:00
Because filesnames starting with a "-" are somewhat annoying to work with, prepend "tile_" to the tile filenames.
This commit is contained in:
parent
07b4aabde6
commit
b4e1145086
@ -323,7 +323,7 @@ void TileGenerator::generate(const std::string &input, const std::string &output
|
|||||||
renderPlayers(input_path);
|
renderPlayers(input_path);
|
||||||
}
|
}
|
||||||
ostringstream fn;
|
ostringstream fn;
|
||||||
fn << (x + minTileX) << '_' << (y + minTileY) << '_' << output;
|
fn << "tile_" << (x + minTileX) << '_' << (y + minTileY) << '_' << output;
|
||||||
writeImage(fn.str());
|
writeImage(fn.str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user