[Commits] [wesnoth/wesnoth] 74053a: fix bug #23113 unit-specific anims missing (tutori...

GitHub noreply at github.com
Fri Dec 26 19:45:47 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 74053a8f8ef79e4f33eaabd75c8a7ef48f3ef6bc
      https://github.com/wesnoth/wesnoth/commit/74053a8f8ef79e4f33eaabd75c8a7ef48f3ef6bc
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-26 (Fri, 26 Dec 2014)

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

  Log Message:
  -----------
  fix bug #23113 unit-specific anims missing (tutorial delfador)

There were two bugs here:
In 6603de667b464d6f6bea04fa07dd25ac8493bc39, in unit::advance_to,
the code fragment that resets the animation set based on the new
unit type was made to run after modifications had been processed.
Since modifications may introduce new animations, this caused these
to be discarded.

In d7bf5be356d71ada4f8b657671258160095d5fe3, [animate_unit] was
broken by accidentally not including it in the lua kernel
initialization routine.


  Commit: 4613275ec6fc9d3e583bd9d58431b5e5ad6c85b7
      https://github.com/wesnoth/wesnoth/commit/4613275ec6fc9d3e583bd9d58431b5e5ad6c85b7
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-26 (Fri, 26 Dec 2014)

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

  Log Message:
  -----------
  Merge branch 'master' of https://github.com/wesnoth/wesnoth


Compare: https://github.com/wesnoth/wesnoth/compare/8a3572a62ba9...4613275ec6fc


More information about the Commits mailing list