mirror of
https://github.com/minetest/minetestmapper.git
synced 2025-07-02 00:20:22 +02:00
Because filesnames starting with a "-" are somewhat annoying to work with, prepend "tile_" to the tile filenames.
This commit is contained in:
@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user