[Commits] [wesnoth/wesnoth] ca58a6: Load Game: display all human-controlled leaders

GitHub noreply at github.com
Thu Aug 25 11:34:16 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: ca58a6b7c3ab5593be72f6a8f208d1783c706a7b
      https://github.com/wesnoth/wesnoth/commit/ca58a6b7c3ab5593be72f6a8f208d1783c706a7b
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-08-25 (Thu, 25 Aug 2016)

  Changed paths:
    M data/gui/window/game_load.cfg
    M src/gui/dialogs/game_load.cpp
    M src/save_index.cpp

  Log Message:
  -----------
  Load Game: display all human-controlled leaders

This also includes a fix for leader images sometimes not being shown in the dialog.
If the save_index was deleted or altered at a time other than when creating a save,
the image path would be empty in the game load dialog. This ensures the image path
is only saved in binary-path independent form if the path isn't empty. In that case,
the plain image path from the savefile is saved. Either way, the image path is checked
in-dialog, first plain, then as binary-path independent. If both fail, a fallback image
is shown.





More information about the Commits mailing list