Fix a bug about using "next unit" during a move,
...which sometimes selected the empty initial position of the moving unit
This commit is contained in:
parent
19e6bca19b
commit
884a143864
1 changed files with 3 additions and 0 deletions
|
@ -697,6 +697,9 @@ bool mouse_handler::unit_in_cycle(unit_map::const_iterator it)
|
|||
it->second.invisible(it->first,units_,teams_))
|
||||
return false;
|
||||
|
||||
if(it->second.get_hidden())
|
||||
return false;
|
||||
|
||||
return true;
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue