[Commits] [wesnoth/wesnoth] 9fd505: Themes: don't erroneously reset border on adding n...

GitHub noreply at github.com
Sun Mar 19 17:56:23 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 9fd50585cc9c53a5ec4dca86804f8474f63924a2
      https://github.com/wesnoth/wesnoth/commit/9fd50585cc9c53a5ec4dca86804f8474f63924a2
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-03-20 (Mon, 20 Mar 2017)

  Changed paths:
    M src/theme.cpp

  Log Message:
  -----------
  Themes: don't erroneously reset border on adding new object

This fixes a bug where replays had no border. add_object was being called on [add] config children
when the replay theme was applied, and since those sub-tags had no [main_map_border] child, the border
was reset,





More information about the Commits mailing list