[Commits] [wesnoth/wesnoth] e46070: Resolve Bug #20036

GitHub noreply at github.com
Sat Sep 12 15:54:28 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: e46070ab303b8392d2554039f76caffdfab4b25b
      https://github.com/wesnoth/wesnoth/commit/e46070ab303b8392d2554039f76caffdfab4b25b
  Author: Wedge009 <wedge009 at wedge009.net>
  Date:   2015-09-12 (Sat, 12 Sep 2015)

  Changed paths:
    M src/editor/map/context_manager.cpp

  Log Message:
  -----------
  Resolve Bug #20036

When a map is generated, the labels for the player starting locations are correctly set. However, generating another map (or even loading a map and then generating a new one) results in the old labels remaining even after the new map has been generated and displayed.

Issue appears to be that the reset labels flag is not being set after a map generation. This change sets the reset labels flag and the subsequent perform_refresh() function then includes a reset of the map labels.


  Commit: 870053c0eccb76dd9bac31edaf52cfcf860433ce
      https://github.com/wesnoth/wesnoth/commit/870053c0eccb76dd9bac31edaf52cfcf860433ce
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2015-09-13 (Sun, 13 Sep 2015)

  Changed paths:
    M src/editor/map/context_manager.cpp

  Log Message:
  -----------
  Merge pull request #490 from Wedge009/Bug_Fix_20036

Resolve Bug #20036


Compare: https://github.com/wesnoth/wesnoth/compare/ca66e1f1fcc4...870053c0eccb


More information about the Commits mailing list