[Commits] [wesnoth/wesnoth] 01105c: MP Staging/MP Join Game: always draw leader sprite...

GitHub noreply at github.com
Tue Feb 6 16:07:54 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 01105cc924351b4ba8170fa8a8681f2073c805ee
      https://github.com/wesnoth/wesnoth/commit/01105cc924351b4ba8170fa8a8681f2073c805ee
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2018-02-07 (Wed, 07 Feb 2018)

  Changed paths:
    M data/gui/window/mp_join_game.cfg
    M data/gui/window/mp_staging.cfg
    M src/gui/dialogs/multiplayer/mp_staging.cpp

  Log Message:
  -----------
  MP Staging/MP Join Game: always draw leader sprite at 72x72 (fixes #1981)

This is also related to #1932. I fixed leader sprites being cropped in 41e674128f4c742664732460c85a8f6009a20f15,
and that made sprites in MP Staging always scale to 72x72. However, large sprites like the
Fire Dragon's still drew at full size in MP Join Game since the damn tree nodes are being
recreated when new changes come in (a separate issue I need to fix). This change fixes the
size of leader sprites in both dialogs to 72x72 regardless of sprite size, so we're saved
any similar issues cropping up in the future even once I do fix the excessive node recreation
in MP Join Game.





More information about the Commits mailing list