Jacob patch to fix bug...
...that caused clicking on the mini map to lose focus on your unit
This commit is contained in:
parent
8658683b50
commit
2835d16196
1 changed files with 1 additions and 0 deletions
|
@ -378,6 +378,7 @@ void turn_info::left_click(const SDL_MouseButtonEvent& event)
|
|||
const gamemap::location& loc = gui_.minimap_location_on(event.x,event.y);
|
||||
if(loc.valid()) {
|
||||
gui_.scroll_to_tile(loc.x,loc.y,display::WARP);
|
||||
return;
|
||||
}
|
||||
|
||||
gamemap::location hex = gui_.hex_clicked_on(event.x,event.y);
|
||||
|
|
Loading…
Add table
Reference in a new issue