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:
Ali El Gariani 2009-03-09 23:43:20 +00:00
parent 19e6bca19b
commit 884a143864

View file

@ -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;
}