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

Charles Dang noreply at github.com
Thu Jul 4 04:46:51 UTC 2019


  Branch: refs/heads/1.14
  Home:   https://github.com/wesnoth/wesnoth
  Commit: a0d82528e7e4b7c619f2379b873bc3d29175c181
      https://github.com/wesnoth/wesnoth/commit/a0d82528e7e4b7c619f2379b873bc3d29175c181
  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