[wesnoth-commits] [wesnoth/wesnoth] 5320c7: Refactor team_data usage and fix issue with Game S...

Charles Dang noreply at github.com
Thu Jul 4 04:47:42 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 5320c7120d3914f05fda793c7c1f8d67b5f6e5d9
      https://github.com/wesnoth/wesnoth/commit/5320c7120d3914f05fda793c7c1f8d67b5f6e5d9
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2019-07-04 (Thu, 04 Jul 2019)

  Changed paths:
    M src/display_context.cpp
    M src/display_context.hpp
    M src/gui/dialogs/game_stats.cpp
    M src/gui/dialogs/game_stats.hpp
    M src/menu_events.cpp
    M src/reports.cpp
    M src/scripting/lua_team.cpp

  Log Message:
  -----------
  Refactor team_data usage and fix issue with Game Stats's Scroll To functionality

This removes unnecessary struct members that can be accessed directly from the team class and fixes an
issue where hidden teams could cause the Game Stats dialog to break when scrolling to leader (fixes #4029)





More information about the Commits mailing list