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

Conflicts:
	src/menu_events.cpp
This commit is contained in:
Chris Beck 2015-03-28 20:37:54 -04:00
parent 13b42234ed
commit 00867da87c

View file

@ -888,7 +888,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;
}