mirror of
https://github.com/minetest/minetestmapper.git
synced 2025-02-03 22:10:25 +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);
|
||||
}
|
||||
ostringstream fn;
|
||||
fn << (x + minTileX) << '_' << (y + minTileY) << '_' << output;
|
||||
fn << "tile_" << (x + minTileX) << '_' << (y + minTileY) << '_' << output;
|
||||
writeImage(fn.str());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user