don't show help terrain description for shrouded hexes (bug #23426)

This commit is contained in:
Chris Beck 2015-03-28 20:37:54 -04:00
parent 42260d6fe9
commit 4a9763225f

View file

@ -908,7 +908,7 @@ void menu_handler::unit_description()
void menu_handler::terrain_description(mouse_handler& mousehandler)
{
const map_location& loc = mousehandler.get_last_hex();
if (map().on_board(loc) == false) {
if (map().on_board(loc) == false || gui_->shrouded(loc)) {
return;
}