fix a glitch with the reach highlight when selecting the unit before undo/redo

This commit is contained in:
Martin Renold 2008-02-02 08:13:23 +00:00
parent db01a26f0e
commit 1bf7f3321b

View file

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