fix a glitch with the reach highlight when selecting the unit before undo/redo
This commit is contained in:
parent
db01a26f0e
commit
1bf7f3321b
1 changed files with 4 additions and 0 deletions
|
@ -276,10 +276,14 @@ void play_controller::show_help(){
|
|||
}
|
||||
|
||||
void play_controller::undo(){
|
||||
// deselect unit (only here, not to be done when undoing attack-move)
|
||||
mouse_handler_.deselect_hex();
|
||||
menu_handler_.undo(player_number_);
|
||||
}
|
||||
|
||||
void play_controller::redo(){
|
||||
// deselect unit (only here, not to be done when undoing attack-move)
|
||||
mouse_handler_.deselect_hex();
|
||||
menu_handler_.redo(player_number_);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue