Skip to content

Commit

Permalink
Trim ToD images to hex
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Jul 9, 2017
1 parent 31c39a3 commit ac4deaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/display.cpp
Expand Up @@ -1205,7 +1205,7 @@ std::vector<texture> display::get_terrain_images(
// We need to test for the tile to be rendered and
// not the location, since the transitions are rendered
// over the offmap-terrain and these need a ToD coloring.
texture tex = image::get_texture(image);
texture tex = image::get_texture(image, image::HEXED); // TODO: scaled to hex?

//const bool off_map = (image.get_filename() == off_map_name || image.get_modifications().find("NO_TOD_SHIFT()") != std::string::npos);
#if 0
Expand Down

0 comments on commit ac4deaf

Please sign in to comment.