don't show help terrain description for shrouded hexes (bug #23426)
Conflicts: src/menu_events.cpp
This commit is contained in:
parent
13b42234ed
commit
00867da87c
1 changed files with 1 additions and 1 deletions
|
@ -888,7 +888,7 @@ void menu_handler::unit_description()
|
||||||
void menu_handler::terrain_description(mouse_handler& mousehandler)
|
void menu_handler::terrain_description(mouse_handler& mousehandler)
|
||||||
{
|
{
|
||||||
const map_location& loc = mousehandler.get_last_hex();
|
const map_location& loc = mousehandler.get_last_hex();
|
||||||
if (map_.on_board(loc) == false) {
|
if (map_.on_board(loc) == false || gui_->shrouded(loc)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue