Skip to content

Commit

Permalink
Because filesnames starting with a "-" are somehwat annoying to work …
Browse files Browse the repository at this point in the history
…with, prepend "tile_" to the tile filenames.
  • Loading branch information
Martijn Versteegh authored and Martijn Versteegh committed Dec 3, 2018
1 parent 07b4aab commit 92b1810
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 92b1810

Please sign in to comment.