[Commits] [wesnoth/wesnoth] 9ee327: fix [end_turn] not working is side turn events of ...

GitHub noreply at github.com
Sat Jul 9 19:42:23 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 9ee327f417140bab7e46f284f67a6fb14b12fd59
      https://github.com/wesnoth/wesnoth/commit/9ee327f417140bab7e46f284f67a6fb14b12fd59
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2016-07-09 (Sat, 09 Jul 2016)

  Changed paths:
    M src/playsingle_controller.cpp

  Log Message:
  -----------
  fix [end_turn] not working is side turn events of ai sides

as reported in forums, the ai did still one move before ending its turn
if [end_turn] was used in a side event.


  Commit: bbc32856f1a737cbb2aaa3ca005ad1831b27c421
      https://github.com/wesnoth/wesnoth/commit/bbc32856f1a737cbb2aaa3ca005ad1831b27c421
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2016-07-09 (Sat, 09 Jul 2016)

  Changed paths:
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/lua_kernel_base.cpp
    M src/scripting/lua_kernel_base.hpp

  Log Message:
  -----------
  handle [args] also in [lua] tags outside events.


  Commit: 69fb6aa9e7cab52b556faccd2e87c19e1ff998c0
      https://github.com/wesnoth/wesnoth/commit/69fb6aa9e7cab52b556faccd2e87c19e1ff998c0
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2016-07-09 (Sat, 09 Jul 2016)

  Changed paths:
    M src/units/types.cpp
    M src/units/types.hpp
    M src/units/unit.cpp

  Log Message:
  -----------
  don't allow strange characters in unit type ids.

Using characters like " or ' in unit type ids has a high change of
breaking code, in particular the statistics code assumes that the
unit type ids can be used as wml varaible keys.


  Commit: 16014a9795b6fa56ea297241cd3a481693c2a912
      https://github.com/wesnoth/wesnoth/commit/16014a9795b6fa56ea297241cd3a481693c2a912
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2016-07-09 (Sat, 09 Jul 2016)

  Changed paths:
    M data/lua/wml-tags.lua

  Log Message:
  -----------
  fix [set_variable] rand=


  Commit: 685b69495ad1c05ffa4c51bab0bd29fc83129ab3
      https://github.com/wesnoth/wesnoth/commit/685b69495ad1c05ffa4c51bab0bd29fc83129ab3
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2016-07-09 (Sat, 09 Jul 2016)

  Changed paths:
    M src/scripting/game_lua_kernel.cpp

  Log Message:
  -----------
  fix lua unit.upkeep getter


  Commit: f4253c220a2ae6a75327c41f6c5c4e303acb0d9b
      https://github.com/wesnoth/wesnoth/commit/f4253c220a2ae6a75327c41f6c5c4e303acb0d9b
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2016-07-09 (Sat, 09 Jul 2016)

  Changed paths:
    M src/carryover.cpp
    M src/scripting/game_lua_kernel.cpp

  Log Message:
  -----------
  fix side specific variables

this fixes wesnoth.get_side_variable and wesnoth.set_side_variable


Compare: https://github.com/wesnoth/wesnoth/compare/40ff1ec98691...f4253c220a2a


More information about the Commits mailing list