Not sure about last changed, rolling back, may be it's to late to hack :P
This commit is contained in:
parent
119ce8752d
commit
f1984b879a
1 changed files with 3 additions and 2 deletions
|
@ -427,8 +427,9 @@ void turn_info::left_click(const SDL_MouseButtonEvent& event)
|
|||
|
||||
gamemap::location hex = gui_.hex_clicked_on(event.x,event.y);
|
||||
|
||||
//selected_hex_ cannot have an invisible unit
|
||||
unit_map::iterator u = units_.find(selected_hex_);
|
||||
unit_map::iterator u = find_visible_unit(units_,
|
||||
selected_hex_, map_,
|
||||
status_.get_time_of_day().lawful_bonus,teams_,current_team);
|
||||
|
||||
//if the unit is selected and then itself clicked on,
|
||||
//any goto command is cancelled
|
||||
|
|
Loading…
Add table
Reference in a new issue