From 24b3bbb8b2da1b073f4f837d26a7938e500d673b Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 15 Aug 2014 02:42:46 -0400 Subject: [PATCH] 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. --- changelog | 1 + data/core/about.cfg | 3 +++ src/playsingle_controller.cpp | 1 + 3 files changed, 5 insertions(+) diff --git a/changelog b/changelog index 81a58d486663..ac6283c2805b 100644 --- a/changelog +++ b/changelog @@ -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: diff --git a/data/core/about.cfg b/data/core/about.cfg index 2ad70de73a39..5815bdbe00cf 100644 --- a/data/core/about.cfg +++ b/data/core/about.cfg @@ -1137,6 +1137,9 @@ [entry] name = "Laurent Birtz" [/entry] + [entry] + name = "Lovens Weche (LovCAPONE)" + [/entry] [entry] name = "Luiz Fernando de Faria Pereira (lfernando)" [/entry] diff --git a/src/playsingle_controller.cpp b/src/playsingle_controller.cpp index 0905b384fba7..2e19fb94f72b 100644 --- a/src/playsingle_controller.cpp +++ b/src/playsingle_controller.cpp @@ -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();