call invalidate_all() on side change during replay
This commit is contained in:
parent
8e19fe9bb7
commit
4464dbb41b
2 changed files with 2 additions and 0 deletions
|
@ -383,6 +383,7 @@ void play_controller::init_side(const unsigned int team_index, bool is_replay){
|
|||
|
||||
if (!recorder.is_skipping()){
|
||||
::clear_shroud(*gui_,status_,map_,gameinfo_,units_,teams_,team_index);
|
||||
gui_->invalidate_all();
|
||||
}
|
||||
|
||||
if (!recorder.is_skipping()){
|
||||
|
|
|
@ -332,6 +332,7 @@ void replay_controller::update_teams(){
|
|||
}
|
||||
gui_->set_playing_team(next_team - 1);
|
||||
//(*gui_).scroll_to_leader(units_, next_team);
|
||||
gui_->invalidate_all();
|
||||
}
|
||||
|
||||
void replay_controller::update_gui(){
|
||||
|
|
Loading…
Add table
Reference in a new issue