Avoid the 'half' hexes to be highlighted when the mouse moves over them.
This commit is contained in:
parent
d40052349a
commit
3792a9e0dc
1 changed files with 1 additions and 1 deletions
|
@ -269,7 +269,7 @@ void game_display::draw(bool update,bool force)
|
|||
|
||||
image::TYPE image_type = image::SCALED_TO_HEX;
|
||||
|
||||
if (*it == mouseoverHex_) {
|
||||
if (on_map && *it == mouseoverHex_) {
|
||||
image_type = image::BRIGHTENED;
|
||||
} else if (on_map && *it == selectedHex_) {
|
||||
unit_map::iterator un = find_visible_unit(units_, *it, map_,
|
||||
|
|
Loading…
Add table
Reference in a new issue