Skip to content

Commit

Permalink
Because files staring with a "-" are somehwat annoying to work with, …
Browse files Browse the repository at this point in the history
…prepend "tile_" to the tile filenames.
  • Loading branch information
Martijn Versteegh authored and Martijn Versteegh committed Dec 3, 2018
1 parent 07b4aab commit f3c20d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TileGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
}
Expand Down

0 comments on commit f3c20d7

Please sign in to comment.