Better support of removing fog from a single hex.

Fixes bug #21643, although artists might find room for improvement.
This commit is contained in:
JaMiT 2014-02-22 21:35:51 -06:00
parent 337fe6535c
commit 46b87250cd
2 changed files with 10 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

View file

@ -1031,6 +1031,16 @@ std::vector<surface> display::get_fog_shroud_images(const map_location& loc, ima
}
if(start == 6) {
// Completely surrounded by fog or shroud. This might have
// a special graphic.
const std::string name = *image_prefix[v] + "-all.png";
if ( image::exists(name) ) {
names.push_back(name);
// Proceed to the next visibility (fog -> shroud -> clear).
continue;
}
// No special graphic found. We'll just combine some other images
// and hope it works out.
start = 0;
}