Skip to content

Commit

Permalink
don't show help terrain description for shrouded hexes (bug #23426)
Browse files Browse the repository at this point in the history
Conflicts:
	src/menu_events.cpp
  • Loading branch information
cbeck88 committed Mar 29, 2015
1 parent 13b4223 commit 00867da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/menu_events.cpp
Expand Up @@ -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;
}

Expand Down

0 comments on commit 00867da

Please sign in to comment.