Fix bug #22465: Minimap not redrawn after turn dialog.
In playsingle_controller::show_turn_dialog added a call to redraw the minimap in addition to the call to redraw everything.
This commit is contained in:
parent
41b079bf88
commit
24b3bbb8b2
3 changed files with 5 additions and 0 deletions
|
@ -311,6 +311,7 @@ Version 1.13.0-dev:
|
|||
* Align unit overlays to the sprite rather than the occupied hex.
|
||||
* Remove carryover WML (this may make a reappearance in 1.13.0 but it is
|
||||
considered premature now, please see github PR discussion for more info)
|
||||
* Fix bug #22465: Minimap not redrawn after turn dialog.
|
||||
|
||||
Version 1.11.11:
|
||||
* Add-ons server:
|
||||
|
|
|
@ -1137,6 +1137,9 @@
|
|||
[entry]
|
||||
name = "Laurent Birtz"
|
||||
[/entry]
|
||||
[entry]
|
||||
name = "Lovens Weche (LovCAPONE)"
|
||||
[/entry]
|
||||
[entry]
|
||||
name = "Luiz Fernando de Faria Pereira (lfernando)"
|
||||
[/entry]
|
||||
|
|
|
@ -846,6 +846,7 @@ void playsingle_controller::show_turn_dialog(){
|
|||
if(preferences::turn_dialog() && (level_result_ == NONE) ) {
|
||||
blindfold b(*resources::screen, true); //apply a blindfold for the duration of this dialog
|
||||
resources::screen->redraw_everything();
|
||||
resources::screen->recalculate_minimap();
|
||||
std::string message = _("It is now $name|’s turn");
|
||||
utils::string_map symbols;
|
||||
symbols["name"] = gamestate_.board_.teams()[player_number_ - 1].current_player();
|
||||
|
|
Loading…
Add table
Reference in a new issue