[Commits] [wesnoth/wesnoth] 25ad24: Fix oos on undoing recalls that capture villages

GitHub noreply at github.com
Wed Jan 6 01:49:21 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 25ad24d4f7843317800ad6801485ed1b9bea091a
      https://github.com/wesnoth/wesnoth/commit/25ad24d4f7843317800ad6801485ed1b9bea091a
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2016-01-06 (Wed, 06 Jan 2016)

  Changed paths:
    M src/actions/create.cpp
    M src/actions/create.hpp
    M src/actions/move.cpp
    M src/actions/move.hpp
    M src/actions/shroud_clearing_action.cpp
    M src/actions/shroud_clearing_action.hpp
    M src/actions/undo.cpp
    M src/actions/undo.hpp
    M src/actions/undo_move_action.cpp
    M src/actions/undo_move_action.hpp
    M src/actions/undo_recall_action.cpp
    M src/actions/undo_recall_action.hpp
    M src/actions/undo_recruit_action.cpp
    M src/actions/undo_recruit_action.hpp

  Log Message:
  -----------
  Fix oos on undoing recalls that capture villages


  Commit: ffe5cd44e358f9537148528e8794cdacee67b666
      https://github.com/wesnoth/wesnoth/commit/ffe5cd44e358f9537148528e8794cdacee67b666
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2016-01-06 (Wed, 06 Jan 2016)

  Changed paths:
    M src/scripting/game_lua_kernel.cpp

  Log Message:
  -----------
  fix [endlevel] end_text=translatable string


  Commit: acabc9201d118ac5deaf8cfbdc8280e09896a2ac
      https://github.com/wesnoth/wesnoth/commit/acabc9201d118ac5deaf8cfbdc8280e09896a2ac
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2016-01-06 (Wed, 06 Jan 2016)

  Changed paths:
    M src/teambuilder.cpp

  Log Message:
  -----------
  Remove unused code

This code would cause OOS if it was used.


  Commit: 163bdc9ecd442a408d4fb97df6ace184eeac486e
      https://github.com/wesnoth/wesnoth/commit/163bdc9ecd442a408d4fb97df6ace184eeac486e
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2016-01-06 (Wed, 06 Jan 2016)

  Changed paths:
    M src/game_config_manager.cpp
    M src/game_initialization/flg_manager.cpp
    M src/teambuilder.cpp

  Log Message:
  -----------
  fix sides with no type= attribute

If you dont want that the engine uses the [side] wml table to create a
leader for that side, it is now enough to just omit the type attribute.
Previously it was necessary to add a no_leader=yes attribute.

The no_leader attribute is still used by the mp connect engine (which is
also used in sp) to prevent the mp connect engine from adding a random
leader from the current era. no_leader now defaults to yes for sides in
[scenario] and to no for sides in [multiplayer] so that the connect
engine now by default doesn't add a random mp leader to sides in sp
games.


Compare: https://github.com/wesnoth/wesnoth/compare/36c037958c0a...163bdc9ecd44


More information about the Commits mailing list